Skip to content

Commit 4cb39fe

Browse files
author
xialj
committed
is more suitable for ,if listen port is no 80 or 443
1 parent 1a98365 commit 4cb39fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/rootfs/etc/nginx/conf.d/include/proxy.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
add_header X-Served-By $host;
2-
proxy_set_header Host $host;
2+
proxy_set_header Host $http_host;
33
proxy_set_header X-Forwarded-Scheme $scheme;
44
proxy_set_header X-Forwarded-Proto $scheme;
55
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

0 commit comments

Comments
 (0)