Add the port to the Host header

Without this, port 80 may be assumed, which would be incorrect.
This commit is contained in:
tcely authored and GitHub committed 2025-02-27 08:59:21 -05:00
1 parent beeaafe246
commit e04562d8be
1 file changed
+1 -1
+1 -1
View File
@@ -103,7 +103,7 @@ http {
# Authentication and proxying
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host localhost;
proxy_set_header Host localhost:8080;
proxy_set_header X-Forwarded-Host $x_forwarded_host;
proxy_set_header X-Forwarded-Port $x_forwarded_port;
proxy_set_header X-Forwarded-Proto $x_forwarded_proto;