pref: update HostRegexp
This commit is contained in:
parent
a3a9a07387
commit
9190316680
@ -12,7 +12,7 @@ services:
|
||||
restart: always
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.thehrz-nginx.rule=Host(`(www\.)?thehrz\.net`)
|
||||
- traefik.http.routers.thehrz-nginx.rule=HostRegexp(`^(www\.)?thehrz\.net$`)
|
||||
- traefik.http.routers.thehrz-nginx.entrypoints=web,websecure
|
||||
- traefik.http.routers.thehrz-nginx.tls.certresolver=letsencrypt
|
||||
- traefik.http.routers.thehrz-nginx.middlewares=CORS@file
|
||||
|
Loading…
Reference in New Issue
Block a user