Adjust Traefik config

This commit is contained in:
Mo 2023-02-12 15:56:51 +01:00
parent 00334e095f
commit 343b0e077f

View file

@ -31,6 +31,11 @@ http:
average: 1
burst: 1
period: 3
nextcloud_dav:
redirectRegex:
regex: "^(https://nextcloud\\.mo8it\\.com)/\\.well-known/(card|cal)dav$"
replacement: "${1}/remote.php/dav"
permanent: true
routers:
to_xueyue_li_art:
@ -56,6 +61,7 @@ http:
rule: Host(`nextcloud.mo8it.com`) || Host(`nextcloud.mo8it.xyz`)
middlewares:
- mo8it_xyz_to_com
- nextcloud_dav
service: nextcloud
to_hedgedoc:
rule: Host(`pads.mo8it.com`) || Host(`pads.mo8it.xyz`)
@ -82,15 +88,18 @@ http:
middlewares:
- yinghong_massage_ratelimit
service: yinghong_massage_contact_form
to_wbo:
rule: Host(`wbo.mo8it.com`)
service: wbo
to_ihatemoney:
rule: Host(`ihatemoney.mo8it.com`)
service: ihatemoney
to_lldap:
rule: Host(`ldap.mo8it.com`)
service: lldap
to_julia_course_export:
rule: Host(`julia-course.mo8it.com`)
service: julia_course_export
to_collabora:
rule: Host(`collabora.mo8it.com`)
service: collabora
services:
nginx:
@ -100,7 +109,7 @@ http:
advlabdb:
loadBalancer:
servers:
- url: http://advlabdb-nginx
- url: http://advlabdb
forgejo:
loadBalancer:
servers:
@ -125,10 +134,6 @@ http:
loadBalancer:
servers:
- url: http://yinghong-massage-contact-form
wbo:
loadBalancer:
servers:
- url: http://wbo
ihatemoney:
loadBalancer:
servers:
@ -137,3 +142,11 @@ http:
loadBalancer:
servers:
- url: http://lldap:17170
julia_course_export:
loadBalancer:
servers:
- url: http://julia_course_export
collabora:
loadBalancer:
servers:
- url: http://nextcloud-collabora:9980