-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Improve docs for HTTP server config #22166
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
Conversation
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.
IIRC this is handled by Jetty and I think Jetty supports other headers also
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.
Ok .. do you think we need to change anything on the docs here though? I think its fine the way it is.
Also @wendigo ?
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.
@mosabua I would say the X-Forwarded headers maybe link to this: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#see_also
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.
Done
dain
left a comment
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.
One comment but otherwise looks good
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.
@mosabua I would say the X-Forwarded headers maybe link to this: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#see_also
Description
Originally just wanted to add docs for
http-server.process-forwardedbut found that the http-server.* properties are either not found at all or sprinkled across docs. This PR adds a new properties reference page that either documents the properties or links to relevant info.As a result I had to also clean up some related duplication.. but it all belongs together really.
Additional context and related issues
See for example chat in https://trinodb.slack.com/archives/CG9K9MX1V/p1715826092248509
I will also create a PR related Trino Gateway docs PR.
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.