summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Höppner2017-10-01 22:38:50 +0200
committerTill Höppner2017-10-01 22:39:10 +0200
commitf4c477bad642601e025e1c4a1c4cc9aec05b9327 (patch)
tree833b0338ca8c2c4aa0f95f03bb906ee1e3ffbd19
parentd14c15c595e9025637fdad360ca2c969c47b4258 (diff)
downloadserver-f4c477bad642601e025e1c4a1c4cc9aec05b9327.tar.gz
server-f4c477bad642601e025e1c4a1c4cc9aec05b9327.tar.xz
server-f4c477bad642601e025e1c4a1c4cc9aec05b9327.zip
Serve wikiHEADmaster
-rw-r--r--images/router/nginx/http/wiki13
-rw-r--r--services/router.yml1
2 files changed, 14 insertions, 0 deletions
diff --git a/images/router/nginx/http/wiki b/images/router/nginx/http/wiki
new file mode 100644
index 0000000..b10320c
--- /dev/null
+++ b/images/router/nginx/http/wiki
@@ -0,0 +1,13 @@
+server {
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2;
+
+ server_name w.*;
+
+ include snippets/ssl_http;
+ include snippets/wellknown;
+
+ location / {
+ proxy_pass http://wiki;
+ }
+}
diff --git a/services/router.yml b/services/router.yml
index 5c245fd..ed2921f 100644
--- a/services/router.yml
+++ b/services/router.yml
@@ -11,6 +11,7 @@ services:
- git
- paste
- znc
+ - wiki
ports:
- "80:80" # http
- "443:443" # https