GitHub user OnlineProxy-io added a comment to the discussion: Airflow 3.0.3 
beind traefik reverse proxy gives 404 on resources

You’re hitting a known quirk with Airflow when it’s sitting behind a reverse 
proxy and you're using a path prefix like /airflow. Even if you’ve got BASE_URL 
set up right, Airflow still tries to pull static files from /static instead of 
/airflow/static, which ends up throwing those annoying 404s. You’ll need to set 
up Traefik to strip the /airflow prefix before passing the request along to 
Airflow. Then update your AIRFLOW__WEBSERVER__BASE_URL to point to 
http://myhost/, so Airflow thinks everything’s running from the root path. That 
way, the UI and all its assets load up smooth, no more missing CSS or broken 
icons.

GitHub link: 
https://github.com/apache/airflow/discussions/53703#discussioncomment-13879092

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to