src.nth.io/

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