-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
[AIRFLOW-1163] Add support for x-forwarded-* headers #3580
Conversation
When running Airflow behind a L7 proxy that sends x-fowarded-* headers, the Flask app miscontructs redirect URIs.
Codecov Report
@@ Coverage Diff @@
## master #3580 +/- ##
==========================================
+ Coverage 76.83% 76.83% +<.01%
==========================================
Files 204 204
Lines 15488 15492 +4
==========================================
+ Hits 11900 11904 +4
Misses 3588 3588
Continue to review full report at Codecov.
|
When running Airflow behind a L7 proxy that sends x-fowarded-* headers, the Flask app miscontructs redirect URIs. Closes apache#3580 from c4milo/master
Is there any info or context here on why this was closed without being merged? |
@drewblas, I believe this was merged using Git's CLI. |
Yeah, not merged in a way GitHub could see It (at the time we couldn't merge directly to Github) but a8dd6d8 was the same commit on master. |
When running Airflow behind a L7 proxy that sends x-fowarded-* headers, the Flask app miscontructs redirect URIs. Closes #3580 from c4milo/master
When running Airflow behind a L7 proxy that sends x-fowarded-* headers, the Flask app miscontructs redirect URIs. Closes apache#3580 from c4milo/master
When running Airflow behind a L7 proxy that sends x-fowarded-* headers, the Flask app miscontructs redirect URIs. Closes apache#3580 from c4milo/master
When running Airflow behind a L7 proxy that sends x-fowarded-* headers, the Flask app miscontructs redirect URIs. Closes apache#3580 from c4milo/master
When running Airflow behind a L7 proxy that sends
x-fowarded-*
headers, the Flask app misconstructs redirect URIs by changing the protocol scheme from https to http. This is not ideal and breaks when SSL is offloaded by such proxy and disabled from airflow.Tests
I tested it manually getting into my running airflow container and inserting the two lines.