Add the port to the Host header
Without this, port 80 may be assumed, which would be incorrect.
This commit is contained in:
1 parent
beeaafe246
commit
e04562d8be
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user