diff -r e209c4dc5280 -r 252069788104 writefreely/server/templates/nginx.conf.j2 --- a/writefreely/server/templates/nginx.conf.j2 Sun Nov 06 21:39:24 2022 -0600 +++ b/writefreely/server/templates/nginx.conf.j2 Sun Nov 06 22:03:27 2022 -0600 @@ -34,10 +34,7 @@ proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; - - set $upstream http://127.0.0.1:{{nginx_proxy_port}}; - proxy_pass $upstream; - + proxy_pass http://127.0.0.1:{{nginx_proxy_port}}; proxy_redirect off; } @@ -51,10 +48,7 @@ proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; - - set $upstream http://127.0.0.1:{{nginx_proxy_port}}; - proxy_pass $upstream; - + proxy_pass http://127.0.0.1:{{nginx_proxy_port}}; proxy_redirect off; } }