Skip to content

Commit a7101ac

Browse files
committed
Fix port redirection on Nginx configuration
1 parent f5b702f commit a7101ac

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

1.1-composable/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ http {
4040

4141
location / {
4242
proxy_pass http://wirecloud:8000;
43-
proxy_set_header Host $host;
43+
proxy_set_header Host $host:$server_port;
4444
proxy_set_header X-Real-IP $remote_addr;
4545
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
4646
}

1.2/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ http {
4040

4141
location / {
4242
proxy_pass http://wirecloud:8000;
43-
proxy_set_header Host $host;
43+
proxy_set_header Host $host:$server_port;
4444
proxy_set_header X-Real-IP $remote_addr;
4545
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
4646
}

1.3/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ http {
4040

4141
location / {
4242
proxy_pass http://wirecloud:8000;
43-
proxy_set_header Host $host;
43+
proxy_set_header Host $host:$server_port;
4444
proxy_set_header X-Real-IP $remote_addr;
4545
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
4646
}

dev/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ http {
4040

4141
location / {
4242
proxy_pass http://wirecloud:8000;
43-
proxy_set_header Host $host;
43+
proxy_set_header Host $host:$server_port;
4444
proxy_set_header X-Real-IP $remote_addr;
4545
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
4646
}

0 commit comments

Comments
 (0)