src.nth.io/

summaryrefslogtreecommitdiff
path: root/dendrite
diff options
context:
space:
mode:
Diffstat (limited to 'dendrite')
-rw-r--r--dendrite/server/templates/nginx.conf.j23
1 files changed, 2 insertions, 1 deletions
diff --git a/dendrite/server/templates/nginx.conf.j2 b/dendrite/server/templates/nginx.conf.j2
index 8e2d34f..a69111d 100644
--- a/dendrite/server/templates/nginx.conf.j2
+++ b/dendrite/server/templates/nginx.conf.j2
@@ -37,7 +37,8 @@ server {
proxy_read_timeout 600;
location /_matrix {
- proxy_pass http://127.0.0.1:{{nginx_proxy_port}};
+ set $upstream http://127.0.0.1:{{nginx_proxy_port}};
+ proxy_pass $upstream;
}
root /var/www/{{nginx_server_name}};