Skip to content
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

Add option to enable proxy header #8675

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

FirelightFlagboy
Copy link
Contributor

Add a new option that configure the list of trusted address to parse the proxy headers from.
The parsing is handled by uvicorn which currently only support x-forwarded-{for,proto} headers.

Closes #8626, closes #8427

@FirelightFlagboy FirelightFlagboy requested review from a team as code owners October 8, 2024 14:17
@FirelightFlagboy FirelightFlagboy force-pushed the 8626-add-option-to-enable-proxy-header branch 2 times, most recently from 96ca27e to d6c7e0d Compare October 8, 2024 14:20
@FirelightFlagboy FirelightFlagboy changed the base branch from 8427-doc-proxy-config to master October 8, 2024 14:20
@FirelightFlagboy FirelightFlagboy force-pushed the 8626-add-option-to-enable-proxy-header branch 2 times, most recently from 7aa594b to 2116aee Compare October 8, 2024 14:36
server/parsec/asgi/__init__.py Outdated Show resolved Hide resolved
docs/hosting/deployment/parsec.env Show resolved Hide resolved
server/parsec/cli/run.py Outdated Show resolved Hide resolved
newsfragments/8626.feature.rst Outdated Show resolved Hide resolved
server/parsec/asgi/__init__.py Show resolved Hide resolved
@FirelightFlagboy FirelightFlagboy requested review from a team as code owners October 9, 2024 09:41
@FirelightFlagboy FirelightFlagboy force-pushed the 8626-add-option-to-enable-proxy-header branch 2 times, most recently from d2b22cd to 937fa63 Compare October 9, 2024 09:47
@FirelightFlagboy FirelightFlagboy linked an issue Oct 9, 2024 that may be closed by this pull request
@FirelightFlagboy FirelightFlagboy force-pushed the 8626-add-option-to-enable-proxy-header branch from 185d6d0 to b1a93d3 Compare October 9, 2024 13:42
Add a new option that configure the list of trusted address to parse the proxy headers from.
The parsing is handled by `uvicorn` which currently only support `x-forwarded-{for,proto}` headers.

Closes #8626, closes #8427

Co-authored-by: Marcos Medrano <[email protected]>
@FirelightFlagboy FirelightFlagboy force-pushed the 8626-add-option-to-enable-proxy-header branch from 91570d6 to c5299f9 Compare October 9, 2024 14:09
@FirelightFlagboy FirelightFlagboy added this pull request to the merge queue Oct 10, 2024
Merged via the queue into master with commit 0c0d9e3 Oct 10, 2024
13 checks passed
@FirelightFlagboy FirelightFlagboy deleted the 8626-add-option-to-enable-proxy-header branch October 10, 2024 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Server] Add option to handle header set by a proxy
2 participants