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