traefik v3
This commit is contained in:
17
dockers/traefik/conf/conf.yml
Normal file
17
dockers/traefik/conf/conf.yml
Normal file
@ -0,0 +1,17 @@
|
||||
http:
|
||||
middlewares:
|
||||
hsts:
|
||||
headers:
|
||||
stsincludesubdomains: true
|
||||
stspreload: true
|
||||
stsseconds: 31536000 # 1 an
|
||||
nextcloud-redirectregex1:
|
||||
redirectregex:
|
||||
permanent: true
|
||||
regex: https?://([^/]*)/.well-known/(card|cal)dav
|
||||
replacement: https://${1}/remote.php/dav/
|
||||
nextcloud-redirectregex2:
|
||||
redirectregex:
|
||||
permanent: true
|
||||
regex: https?://([^/]*)(/.well-known[^#]*)
|
||||
replacement: https://${1}/index.php${2}
|
Reference in New Issue
Block a user