fixed middlewares

This commit is contained in:
bryanpedini committed 2026-07-18 13:02:37 +02:00
1 parent eefaae32e2
commit 44571ff08b
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ services:
# HTTPS
- traefik.http.routers.https-${TRAEFIK_ROUTER}.entrypoints=https
# configure the exposed service
- traefik.http.routers.https-${TRAEFIK_ROUTER}.middlewares=hsts,nextcloud-redirectregex
- traefik.http.routers.https-${TRAEFIK_ROUTER}.middlewares=${TRAEFIK_MIDDLEWARES}
- traefik.http.routers.https-${TRAEFIK_ROUTER}.rule=${TRAEFIK_MATCHRULE}
# of course, enable TLS and it's certificate provider
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls=${TRAEFIK_TLSENABLED}
+1
View File
@@ -17,3 +17,4 @@ TRAEFIK_SERVICE=cloud_domain_com
TRAEFIK_SERVICE_PORT=80
TRAEFIK_TLSENABLED=true
TRAEFIK_NETWORK=traefik
TRAEFIK_MIDDLEWARES=hsts,cloud_domain_com-redirectregex