enable traefik on... traefik
This commit is contained in:
parent
a61ba0df6f
commit
ac6a28a5fc
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ services:
|
||||||
- --certificatesresolvers.letsencrypt.acme.storage=/acme.json
|
- --certificatesresolvers.letsencrypt.acme.storage=/acme.json
|
||||||
- --certificatesresolvers.letsencrypt.acme.tlschallenge=true
|
- --certificatesresolvers.letsencrypt.acme.tlschallenge=true
|
||||||
labels:
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
# global redirect to https
|
# global redirect to https
|
||||||
- traefik.http.routers.http-catchall.rule=hostregexp(`{host:.+}`)
|
- traefik.http.routers.http-catchall.rule=hostregexp(`{host:.+}`)
|
||||||
- traefik.http.routers.http-catchall.entrypoints=web
|
- traefik.http.routers.http-catchall.entrypoints=web
|
||||||
|
|
Loading…
Add table
Reference in a new issue