10000 chore: config gunicorn secure_scheme_headers by jennifer-richards · Pull Request #8632 · ietf-tools/datatracker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: config gunicorn secure_scheme_headers #8632

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

Merged
merged 2 commits into from
Mar 3, 2025

Conversation

jennifer-richards
Copy link
Member
@jennifer-richards jennifer-richards commented Mar 3, 2025

Ignore X-FORWARDED-PROTOCOL and X-FORWARDED-SSL headers, which we do not use and which cause warnings in our logs.

These being set was causing gunicorn to reject the requests with 400 status codes - instead, they'll go through but the headers will be ignored. If we want to reject traffic with those headers set as obviously garbage, we should do so elsewhere.

@rjsparks rjsparks merged commit 232a861 into ietf-tools:main Mar 3, 2025
2 checks passed
@jennifer-richards jennifer-richards deleted the gunicorn-scheme-headers branch March 3, 2025 19:00
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0