We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a48be1 commit 86895e4Copy full SHA for 86895e4
examples/nginx.conf
@@ -50,6 +50,7 @@ server {
50
location / {
51
# Forward incoming requests to local tusd instance
52
proxy_pass http://localhost:8080;
53
+ proxy_set_header X-Forwarded-Host $host:$server_port;
54
55
# Disable request and response buffering
56
proxy_request_buffering off;
@@ -62,6 +63,5 @@ server {
62
63
proxy_set_header Upgrade $http_upgrade;
64
proxy_set_header Connection "upgrade";
65
client_max_body_size 0;
- proxy_set_header X-Forwarded-Host $host:$server_port;
66
}
67
0 commit comments