docs: Use value from Host header to forward to tusd
This commit is contained in:
parent
c822a3afb1
commit
ec5f50090a
|
@ -57,7 +57,7 @@ server {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|
||||||
# Add X-Forwarded-* headers
|
# Add X-Forwarded-* headers
|
||||||
proxy_set_header X-Forwarded-Host $hostname;
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|
Loading…
Reference in New Issue