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 2020/03/27 17:35:18 UTC
[GitHub] [airflow] dimberman opened a new issue #7909: Add configuration
option in airflow.cfg for Flask APPLICATION_ROOT
dimberman opened a new issue #7909: Add configuration option in airflow.cfg for Flask APPLICATION_ROOT
URL: https://github.com/apache/airflow/issues/7909
**Description**
For various reasons, I might not have the flexibility to use a domain or subdomain root, e.g., airflow.myorg.com) as the entry point to Airflow. Instead I may have to use something like myorg.com/airflow/.
Fortunately Flask has the APPLICATION_ROOT configuration option which makes this easy if URLs are rendered with the Flask url_for method.
I believe this feature is added in two steps:
1. Add configuration option logic to flow from airflow.cfg to instantiation of Flask.
2. Go through existing template files and convert to using Flask url_for methods.
3. (hidden step) Encourage other contributors to use url_for going forward.
Options
**Use case / motivation**
**Related Issues**
copied from https://issues.apache.org/jira/browse/AIRFLOW-82
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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