We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3b74be commit 8ef5026Copy full SHA for 8ef5026
2 files changed
‎Dockerfile‎
@@ -1,2 +1,4 @@
1
FROM nginx:alpine
2
-COPY nginx.conf /etc/nginx/nginx.conf
+COPY nginx.conf /etc/nginx/nginx.conf
3
+
4
+EXPOSE 443
‎nginx.conf‎
@@ -10,15 +10,15 @@ http {
10
gzip_min_length 1000;
11
12
server {
13
- listen 443;
+ listen 443 ssl;
14
server_name localhost;
15
16
location ~ "^/[a-z0-9]{32}/geode/" {
17
if ($request_method !~ ^(GET|POST|OPTIONS)$) {
18
return 405;
19
}
20
rewrite "^/[a-z0-9]{32}/geode/(.*)" /$1 break;
21
- proxy_pass http://localhost:5000;
+ proxy_pass http://geode:5000;
22
proxy_http_version 1.1;
23
24
@@ -27,7 +27,7 @@ http {
27
28
29
rewrite "^/[a-z0-9]{32}/viewer/(.*)" /$1 break;
30
- proxy_pass http://localhost:1234;
+ proxy_pass http://viewer:1234;
31
32
33
0 commit comments