pref: update traefik config

This commit is contained in:
thehrz 2023-11-04 22:29:42 +08:00
parent dbcde8c5be
commit e8ce5c409f
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

@ -13,8 +13,8 @@ services:
labels:
- traefik.enable=true
- 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
- traefik.http.routers.hfbz-nginx.entrypoints=web
# - traefik.http.routers.hfbz-nginx.tls.certresolver=letsencrypt
# - traefik.http.routers.hfbz-nginx.middlewares=CORS@file
networks:
- traefik