replace traefik by nginx-proxy
This commit is contained in:
parent
fa30ca55fe
commit
f608f060a0
8 changed files with 33 additions and 37 deletions
8
blog/docker-compose.blog.yml
Normal file → Executable file
8
blog/docker-compose.blog.yml
Normal file → Executable file
|
|
@ -21,9 +21,5 @@ services:
|
|||
restart: unless-stopped
|
||||
expose:
|
||||
- 80
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.blog.rule=Host(`${HOST_BLOG}.${DOMAIN}`)
|
||||
- traefik.http.routers.blog.entrypoints=websecure
|
||||
- traefik.http.routers.blog.tls=true
|
||||
- traefik.http.services.blog.loadbalancer.server.port=80
|
||||
environment:
|
||||
- VIRTUAL_HOST=${HOST_BLOG}.${DOMAIN}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue