Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6837c31 authored by Thomas G.'s avatar Thomas G.
Browse files

fix(traefik): refine Nextcloud router rule to exclude error paths

parent 412f0c55
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ services:
          - node.role == worker
      labels:
        - "traefik.enable=true"
        - "traefik.http.routers.${DB_USER}-nextcloud.rule=Host(`${DOMAIN}`)"
        - "traefik.http.routers.${DB_USER}-nextcloud.rule=Host(`${DOMAIN}`) && !PathPrefix(`/_errors/`)"
        - "traefik.http.services.${DB_USER}-nextcloud.loadbalancer.server.port=80"
        - "traefik.http.middlewares.${DB_USER}-nextcloud.headers.customrequestheaders.X-Forwarded-Proto=https"
        - "traefik.http.routers.${DB_USER}-nextcloud.middlewares=${DB_USER}-nextcloud-errors"