Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit 904d029

Browse files
committed
web console
1 parent 35d1503 commit 904d029

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

default.conf

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
server {
2+
listen 80;
3+
server_name localhost;
4+
5+
access_log /logs/host.access.log main;
6+
7+
location / {
8+
proxy_pass http://docker_compose_ui:5000;
9+
}
10+
11+
location /web-console/ {
12+
proxy_pass http://web_console:8888;
13+
}
14+
15+
location /web-console/exec {
16+
proxy_pass http://web_console:8888;
17+
proxy_http_version 1.1;
18+
proxy_set_header Upgrade $http_upgrade;
19+
proxy_set_header Connection "upgrade";
20+
}
21+
22+
23+
#error_page 404 /404.html;
24+
25+
# redirect server error pages to the static page /50x.html
26+
#
27+
error_page 500 502 503 504 /50x.html;
28+
location = /50x.html {
29+
root /usr/share/nginx/html;
30+
}
31+
32+
}
33+

static/views/project-detail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ <h4 class="modal-title">{{containerLogs}} logs</h4>
128128
<h4 class="modal-title">{{containerName}} console</h4>
129129
</div>
130130
<div class="modal-body">
131-
<iframe ng-if="containerConsoleUrl" src="{{containerConsoleUrl}}" style="width: 800px; height: 450px; border: none;"></iframe>
131+
<iframe ng-if="containerConsoleUrl" src="{{containerConsoleUrl}}" style="width: 810px; height: 460px; border: none;"></iframe>
132132
</div>
133133
<div class="modal-footer">
134134
</div>

0 commit comments

Comments
 (0)