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

Hi!
My understanding is, that `AIRFLOW__WEBSERVER__ENABLE_PROXY_FIX` is not longer 
necessary and available in v3.x

In version 3.0.6 I just set `AIRFLOW__WEBSERVER__BASE_URL` and use this lable 
definition:

```yaml
deploy:
      labels:
        - traefik.enable=true
        - traefik.docker.network=yourTraefikNetworkHere
        - traefik.http.routers.${HTTP_PATH}.rule=PathPrefix(`/${HTTP_PATH}/`)
        - traefik.http.routers.${HTTP_PATH}.entrypoints=web
        - traefik.http.routers.${HTTP_PATH}.tls=true
        - traefik.http.services.${HTTP_PATH}.loadbalancer.server.port=8080
```
I set the subfolder name with the env `HTTP_PATH`

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

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

Reply via email to