pref: update HostRegexp

This commit is contained in:
thehrz 2024-05-25 13:42:50 +08:00
parent 629cac4cee
commit 7f8f7b0ed7
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.hfbz-nginx.rule=Host(`xn--fiqa592br0dm3gfp6c.com`, `www.xn--fiqa592br0dm3gfp6c.com`) - traefik.http.routers.hfbz-nginx.rule=HostRegexp(`^(www\.)?xn--fiqa592br0dm3gfp6c\.com$`)
- traefik.http.routers.hfbz-nginx.entrypoints=web,websecure - traefik.http.routers.hfbz-nginx.entrypoints=web,websecure
- traefik.http.routers.hfbz-nginx.tls.certresolver=letsencrypt - traefik.http.routers.hfbz-nginx.tls.certresolver=letsencrypt
networks: networks: