Update traefik configuration in compose.yml

This commit is contained in:
sHa
2024-09-30 18:01:27 +00:00
parent 2a2c01236d
commit 82974dae02

View File

@@ -21,9 +21,9 @@ services:
labels: labels:
traefik.enable: true traefik.enable: true
traefik.docker.network: apps-proxy traefik.docker.network: apps-proxy
traefik.http.routers.catcher.entrypoints: websecure traefik.http.routers.catcher.entrypoints: web,websecure
traefik.http.routers.catcher.rule: Host(`$APP_URL`) traefik.http.routers.catcher.rule: Host(`$APP_URL`) || Host(`$APP_URL_2`) && !PathPrefix(`/.git`)
traefik.http.routers.catcher.tls: true traefik.http.routers.catcher.tls: true
traefik.http.routers.catcher.tls.certresolver: letsencrypt traefik.http.routers.catcher.tls.certresolver: letsencrypt
traefik.http.services.catcher.loadbalancer.server.port: 8000 traefik.http.services.catcher.loadbalancer.server.port: 8000
traefik.http.routers.catcher.middlewares: redirect-web-to-websecure@internal