diff --git a/ai.yml b/ai.yml index 82064cb..0b5ffbd 100644 --- a/ai.yml +++ b/ai.yml @@ -43,6 +43,8 @@ services: - "traefik.http.routers.fooocus-secure.tls=true" - "traefik.http.routers.fooocus-secure.tls.certresolver=${DNS}" - "traefik.http.routers.fooocus-secure.middlewares=forward-auth" + - "traefik.http.middlewares.fooocus-redirectregex.redirectregex.regex=^https://fooocus.*.*/logs.html" + - "traefik.http.middlewares.fooocus-redirectregex.redirectregex.replacement=https://fooocus.${DOMAIN}" deploy: resources: reservations: