dendrite/server/templates/nginx.conf.j2
changeset 200 10051617d075
parent 167 e3c49bf5fae9
child 202 252069788104
--- a/dendrite/server/templates/nginx.conf.j2	Sat Oct 22 14:51:55 2022 -0500
+++ b/dendrite/server/templates/nginx.conf.j2	Sun Nov 06 18:23:19 2022 -0600
@@ -37,7 +37,8 @@
     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}};