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 86895e4 commit 1a7ab2d
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,14 +50,14 @@ 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;
proxy_buffering off;
proxy_http_version 1.1;

# Add X-Forwarded-* headers
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Proto $scheme;

proxy_set_header Upgrade $http_upgrade;
Expand Down

0 comments on commit 1a7ab2d

Please sign in to comment.