Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the apache airflow webserver console context root path

Tags:

airflow

Is there a way (preferably via configuration) to change the default url context path root of airflow webserver

i:e instead of deployment the server like

localhost:8080/admin/...

I would like the root path be like

localhost:8080/mywebserver/admin/...

I would like to avoid a reverse proxy in front of the airflow just to rewrite the root path.

like image 286
virtuvious Avatar asked Nov 16 '25 14:11

virtuvious


1 Answers

I checked the [webserver] section in airflow.cfg and able to find the base_url configuration that helping to change the default URL context path.

Update the airflow.cfg and restart the webserver.

[webserver]
base_url = http://localhost:8080/mywebserver

Airflow web ui with updated base_url

like image 147
Manoj Avatar answered Nov 18 '25 20:11

Manoj



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!