back to traefik
This commit is contained in:
parent
9bd9f23d9e
commit
4c2bdef32e
16 changed files with 171 additions and 60 deletions
|
|
@ -9,7 +9,9 @@ services:
|
|||
- srv
|
||||
expose:
|
||||
- 80
|
||||
environment:
|
||||
- VIRTUAL_HOST=${DOMAIN},${HOST_WWW}.${DOMAIN}
|
||||
- LETSENCRYPT_HOST=${DOMAIN},${HOST_WWW}.${DOMAIN}
|
||||
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.www.rule=Host(`${HOST_WWW}.${DOMAIN}`)
|
||||
- traefik.http.routers.www.entrypoints=websecure
|
||||
- traefik.http.routers.www.tls=true
|
||||
- traefik.http.services.www.loadbalancer.server.port=80
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue