[
https://issues.apache.org/jira/browse/AIRFLOW-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068926#comment-17068926
]
Daniel Imberman commented on AIRFLOW-82:
----------------------------------------
moved to https://github.com/apache/airflow/issues/7909
> Add configuration option in airflow.cfg for Flask APPLICATION_ROOT
> ------------------------------------------------------------------
>
> Key: AIRFLOW-82
> URL: https://issues.apache.org/jira/browse/AIRFLOW-82
> Project: Apache Airflow
> Issue Type: Wish
> Reporter: Sean McIntyre
> Priority: Minor
> Labels: feature, suggestions
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)