You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "pierrejeambrun (via GitHub)" <gi...@apache.org> on 2025/01/22 13:56:00 UTC

[I] AIP-84 Allow specifying an injectable path_prefix [airflow]

pierrejeambrun opened a new issue, #45933:
URL: https://github.com/apache/airflow/issues/45933

   ### Body
   
   Allow via a configuration parameter a way for user to specify a `path_prefix` on the fastapi application. (FastAPI app also serves the webapplication, both will be under that prefix).
   
   We can leverage the `root_path` param of flask, and can build something similar to what we had for the legacy_api here:
   https://github.com/apache/airflow/blob/051e617e0d7d0ebb995cb98063709350f279963c/airflow/www/extensions/init_wsgi_middlewares.py#L45-L51.
   
   This will also most likely require some adjustment in the front-end part. (vite build + redirection etc... to use the appropriate prefix, otherwise we might end-up with 404 responses there).
   
   ### Committer
   
   - [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] AIP-84 Allow specifying an injectable path_prefix [airflow]

Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil commented on issue #45933:
URL: https://github.com/apache/airflow/issues/45933#issuecomment-2607334499

   For whoever picks this issue: To know about that more, check https://fastapi.tiangolo.com/advanced/behind-a-proxy/


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] AIP-84 Allow specifying an injectable path_prefix [airflow]

Posted by "rawwar (via GitHub)" <gi...@apache.org>.
rawwar commented on issue #45933:
URL: https://github.com/apache/airflow/issues/45933#issuecomment-2639438581

   I will work on the issue this weekend. I'll ask for help if I get stuck.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] AIP-84 Allow specifying an injectable path_prefix [airflow]

Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun closed issue #45933: AIP-84 Allow specifying an injectable path_prefix
URL: https://github.com/apache/airflow/issues/45933


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] AIP-84 Allow specifying an injectable path_prefix [airflow]

Posted by "phanikumv (via GitHub)" <gi...@apache.org>.
phanikumv commented on issue #45933:
URL: https://github.com/apache/airflow/issues/45933#issuecomment-2639246551

   @rawwar are you able to progress on this issue? Do you need any help


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org