is more suitable for ,if listen port is no 80 or 443

This commit is contained in:
xialj 2023-08-11 11:13:39 +08:00
parent 1a983651a5
commit 4cb39fe332

View File

@ -1,5 +1,5 @@
add_header X-Served-By $host;
proxy_set_header Host $host;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;