Clean up dynamic Traefik config

This commit is contained in:
Mo 2024-06-21 12:25:05 +02:00
parent 86c9d3b1d5
commit 70f86e750d

View file

@ -11,11 +11,6 @@ http:
regex: "^https://www\\.(mo8it\\.com.*)" regex: "^https://www\\.(mo8it\\.com.*)"
replacement: "https://${1}" replacement: "https://${1}"
permanent: true permanent: true
mo8it_xyz_to_com:
redirectRegex:
regex: "^(https://[a-z-]+\\.mo8it\\.)xyz(.*)"
replacement: "${1}com${2}"
permanent: true
oxiform_ratelimit: oxiform_ratelimit:
rateLimit: rateLimit:
average: 2 average: 2
@ -27,9 +22,7 @@ http:
rule: Host(`git.mo8it.com`) rule: Host(`git.mo8it.com`)
service: forgejo service: forgejo
to_hedgedoc: to_hedgedoc:
rule: Host(`pads.mo8it.com`) || Host(`pads.mo8it.xyz`) rule: Host(`pads.mo8it.com`)
middlewares:
- mo8it_xyz_to_com
service: hedgedoc service: hedgedoc
to_yinghong_massage_de: to_yinghong_massage_de:
rule: Host(`yinghong-massage.de`) || Host(`www.yinghong-massage.de`) rule: Host(`yinghong-massage.de`) || Host(`www.yinghong-massage.de`)
@ -43,9 +36,6 @@ http:
middlewares: middlewares:
- oxiform_ratelimit - oxiform_ratelimit
service: yinghong_massage_oxiform service: yinghong_massage_oxiform
to_ihatemoney:
rule: Host(`ihatemoney.mo8it.com`)
service: ihatemoney
to_lldap: to_lldap:
rule: Host(`ldap.mo8it.com`) rule: Host(`ldap.mo8it.com`)
service: lldap service: lldap
@ -92,10 +82,6 @@ http:
loadBalancer: loadBalancer:
servers: servers:
- url: http://systemd-yinghong-massage-oxiform - url: http://systemd-yinghong-massage-oxiform
ihatemoney:
loadBalancer:
servers:
- url: http://systemd-ihatemoney
lldap: lldap:
loadBalancer: loadBalancer:
servers: servers: