You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2018/10/02 14:20:35 UTC
[GitHub] jmcarp commented on a change in pull request #3983: [AIRFLOW-3137]
Make ProxyFix middleware optional.
jmcarp commented on a change in pull request #3983: [AIRFLOW-3137] Make ProxyFix middleware optional.
URL: https://github.com/apache/incubator-airflow/pull/3983#discussion_r221970283
##########
File path: docs/integration.rst
##########
@@ -65,6 +65,12 @@ Your reverse proxy (ex: nginx) should be configured as follow:
}
}
+To ensure that Airflow generates URLs with the correct scheme when
+running behind a TLS-terminating proxy, you should configure the proxy
+to set the `X-Forwarded-Proto` header, and enable the `ProxyFix`
+middleware in your `airflow.cfg`::
+
+ enable_proxy_fix = True
Review comment:
Updated.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services