#67 Split middleware into two, add both
This commit is contained in:
parent
85b3b0b856
commit
8fd04b0258
@ -16,7 +16,7 @@ services:
|
||||
labels:
|
||||
- traefik.http.routers.nextcloud.rule=Host(`nextcloud.jafner.net`)
|
||||
- traefik.http.routers.nextcloud.tls.certresolver=lets-encrypt
|
||||
- traefik.http.routers.nextcloud.middlewares=nextcloud@file
|
||||
- traefik.http.routers.nextcloud.middlewares=nextcloud-headers@file,nextcloud-redirect@file
|
||||
#- traefik.http.services.nextcloud.loadbalancer.server.scheme=https
|
||||
#- traefik.http.services.nextcloud.loadbalancer.server.port=443
|
||||
networks:
|
||||
|
@ -52,7 +52,7 @@ http:
|
||||
trustForwardHeader: true
|
||||
authResponseHeaders:
|
||||
- X-Forwarded-User
|
||||
nextcloud:
|
||||
nextcloud-headers:
|
||||
headers:
|
||||
accessControlMaxAge: 100
|
||||
sslRedirect: true
|
||||
@ -71,6 +71,7 @@ http:
|
||||
customResponseHeaders:
|
||||
X-Robots-Tag: "none"
|
||||
server: ""
|
||||
nextcloud-redirect:
|
||||
redirectRegex:
|
||||
permanent: true
|
||||
regex: "https://(.*)/.well-known/(card|cal)dav"
|
||||
|
Loading…
Reference in New Issue
Block a user