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:
[email protected]
With regards,
Apache Git Services