summaryrefslogtreecommitdiff
path: root/images/router/nginx/http.off/matrix
diff options
context:
space:
mode:
Diffstat (limited to 'images/router/nginx/http.off/matrix')
-rw-r--r--images/router/nginx/http.off/matrix14
1 files changed, 14 insertions, 0 deletions
diff --git a/images/router/nginx/http.off/matrix b/images/router/nginx/http.off/matrix
new file mode 100644
index 0000000..cedd917
--- /dev/null
+++ b/images/router/nginx/http.off/matrix
@@ -0,0 +1,14 @@
+server {
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2;
+
+ server_name m.tx0.co;
+
+ include snippets/ssl;
+ include snippets/wellknown;
+
+ location /_matrix {
+ proxy_pass http://matrix:8008;
+ proxy_set_header X-Forwarded-For $remote_addr;
+ }
+}