-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update reverse proxy docs with what we've learned from #17986 #17994
Conversation
# note: do not add a path (even a single /) after the port in `proxy_pass`, | ||
# otherwise nginx will canonicalise the URI and cause signature verification | ||
# errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment comes from our reverse_proxy.md
docs.
What I think it actually means -> https://stackoverflow.com/questions/16157893/nginx-proxy-pass-404-error-dont-understand-why/62753212#62753212
@@ -74,7 +74,7 @@ server { | |||
proxy_pass http://localhost:8008; | |||
proxy_set_header X-Forwarded-For $remote_addr; | |||
proxy_set_header X-Forwarded-Proto $scheme; | |||
proxy_set_header Host $host; | |||
proxy_set_header Host $host:$server_port; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating our docs to match what we fixed in #17986
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully this will save folks quite a lot of time in the future. Thanks for carrying this through to the end!
Thanks for the review and merge @anoadragon453 🐍 |
Update reverse proxy docs with what we've learned from #17986
Also vice versa and update our nginx config with what I learned from the reverse proxy docs.
Pull Request Checklist
EventStore
toEventWorkerStore
.".code blocks
.(run the linters)