Skip to content

Commit

Permalink
Update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Acconut committed Dec 20, 2024
1 parent 9a48be1 commit 86895e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ server {
location / {
# Forward incoming requests to local tusd instance
proxy_pass http://localhost:8080;
proxy_set_header X-Forwarded-Host $host:$server_port;

# Disable request and response buffering
proxy_request_buffering off;
Expand All @@ -62,6 +63,5 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
client_max_body_size 0;
proxy_set_header X-Forwarded-Host $host:$server_port;
}
}

0 comments on commit 86895e4

Please sign in to comment.