pref: update HostRegexp
Some checks failed
CI / Deploy (push) Failing after 6s

This commit is contained in:
thehrz 2024-05-25 13:37:11 +08:00
parent 3cf516d904
commit d863d8c53c
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

@ -12,7 +12,7 @@ services:
restart: always restart: always
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.19yuke2-frontend.rule=Host(`19yuke2.cn`, `www.19yuke2.cn`) - traefik.http.routers.19yuke2-frontend.rule=HostRegexp(`^(www\.)?19yuke2\.cn$`)
- traefik.http.routers.19yuke2-frontend.entrypoints=web,websecure - traefik.http.routers.19yuke2-frontend.entrypoints=web,websecure
- traefik.http.routers.19yuke2-frontend.tls.certresolver=letsencrypt - traefik.http.routers.19yuke2-frontend.tls.certresolver=letsencrypt
- traefik.http.services.19yuke2-frontend.loadbalancer.server.port=80 - traefik.http.services.19yuke2-frontend.loadbalancer.server.port=80