[
https://issues.apache.org/jira/browse/AIRFLOW-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ash Berlin-Taylor updated AIRFLOW-1163:
---------------------------------------
Fix Version/s: 1.10.1
Summary: Add support for x-forwarded-* headers to support access
behind AWS ELB (was: Cannot Access Airflow Webserver Behind AWS ELB)
> Add support for x-forwarded-* headers to support access behind AWS ELB
> -----------------------------------------------------------------------
>
> Key: AIRFLOW-1163
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1163
> Project: Apache Airflow
> Issue Type: Bug
> Affects Versions: 1.7.1
> Reporter: Tim
> Assignee: Fokko Driesprong
> Priority: Major
> Fix For: 2.0.0, 1.10.1
>
>
> Cannot access airflow from behind a load balancer.
> If we go directly to the IP of the server it loads just fine. When trying to
> use the load balancer cname and forward the request it does not load.
> We updated the base_url to be the LB url but it still does not work. The page
> sits and spins forever. Eventually it loads some ui elements.
> Here is what I see on the network tab:
> https://puu.sh/vC4Zp/e388884131.png
> Here is what our config looks like:
> {code}
> [webserver]
> # The base url of your website as airflow cannot guess what domain or
> # cname you are using. This is use in automated emails that
> # airflow sends to point links to the right web server
> base_url =
> http://internal-st-airflow-lb-590109685.us-east-1.elb.amazonaws.com:80
> # The ip specified when starting the web server
> web_server_host = 0.0.0.0
> # The port on which to run the web server
> web_server_port = 8080
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)