pref: update traefik config

This commit is contained in:
thehrz 2023-11-04 23:03:46 +08:00
parent b2ce5c3783
commit 8fd7a328af
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

@ -12,7 +12,7 @@ services:
restart: always
labels:
- traefik.enable=true
- traefik.http.routers.hfbz-nginx.rule=Host(`xn--fiqa592br0dm3gfp6c.com`, `www.xn--fiqa592br0dm3gfp6c.com`)
- traefik.http.routers.hfbz-nginx.rule=Host(`中国原神中学.com`, `www.中国原神中学.com`)
- traefik.http.routers.hfbz-nginx.entrypoints=web
# - traefik.http.routers.hfbz-nginx.tls.certresolver=letsencrypt
# - traefik.http.routers.hfbz-nginx.middlewares=CORS@file