pref: update traefik config

This commit is contained in:
thehrz 2023-11-04 23:06:33 +08:00
parent 8fd7a328af
commit 83d02b67e9
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

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