diff options
| author | Luke Hoersten <[email protected]> | 2022-11-06 18:23:19 -0600 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2022-11-06 18:23:19 -0600 |
| commit | 464cbc372635cd82c98749931ac6901b1f81e968 (patch) | |
| tree | a2470d83a14e06426c793a634c6c82b44b4e7ce6 /dendrite | |
| parent | c6aa08f181af3ffd75beff2cc0a6fbc78bfc0b5b (diff) | |
Fixed proxy pass.
Diffstat (limited to 'dendrite')
| -rw-r--r-- | dendrite/server/templates/nginx.conf.j2 | 3 |
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}}; |
