You've already forked nextcloud
fixed middlewares
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user