Skip to content

Commit 1a7ab2d

Browse files
committed
Update nginx.conf
1 parent 86895e4 commit 1a7ab2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ server {
5050
location / {
5151
# Forward incoming requests to local tusd instance
5252
proxy_pass http://localhost:8080;
53-
proxy_set_header X-Forwarded-Host $host:$server_port;
5453

5554
# Disable request and response buffering
5655
proxy_request_buffering off;
5756
proxy_buffering off;
5857
proxy_http_version 1.1;
5958

6059
# Add X-Forwarded-* headers
60+
proxy_set_header X-Forwarded-Host $host:$server_port;
6161
proxy_set_header X-Forwarded-Proto $scheme;
6262

6363
proxy_set_header Upgrade $http_upgrade;

0 commit comments

Comments
 (0)