Skip to content

Commit

Permalink
docs: Clarify proxy_pass setting in Nginx example
Browse files Browse the repository at this point in the history
This should help prevent issues like #452 (comment).
  • Loading branch information
Acconut authored Feb 3, 2025
1 parent a61665f commit a9dc522
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ server {

location / {
# Forward incoming requests to local tusd instance
# Note that the proxy's URL does not include a path/URI and not even a trailing slash, so
# that Nginx passes the unmodified request URL to tusd.
# https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass
proxy_pass http://localhost:8080;

# Disable request and response buffering
Expand Down

0 comments on commit a9dc522

Please sign in to comment.