mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Add support for Werkzeug ProxyFix middleware (#1150)
Add an ENABLE_PROXY_FIX config param. When set to True, insert the Werkzeug ProxyFix middleware. This middleware extracts and applies the X-Forwarded-* headers that are inserted by common proxies and load balancers. Fixes #1139.
This commit is contained in:
committed by
Maxime Beauchemin
parent
1ce8acc154
commit
d15a212e64
@@ -108,6 +108,10 @@ load balancer knows if your caravel instance is running. This is provided
|
||||
at ``/health`` which will return a 200 response containing "OK" if the
|
||||
webserver is running.
|
||||
|
||||
If the load balancer is inserting X-Forwarded-For/X-Forwarded-Proto headers, you
|
||||
should set `ENABLE_PROXY_FIX = True` in the caravel config file to extract and use
|
||||
the headers.
|
||||
|
||||
|
||||
Configuration
|
||||
-------------
|
||||
|
||||
Reference in New Issue
Block a user