docs: Use value from Host header to forward to tusd
@@ -57,7 +57,7 @@ server {
proxy_http_version 1.1;
# 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 Upgrade $http_upgrade;
