Skip to content

Commit a9dc522

Browse files
authored
docs: Clarify proxy_pass setting in Nginx example
This should help prevent issues like #452 (comment).
1 parent a61665f commit a9dc522

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/nginx.conf

+3
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ server {
5353

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

5861
# Disable request and response buffering

0 commit comments

Comments
 (0)