made this more flexible
This commit is contained in:
+3
-3
@@ -30,7 +30,7 @@ services:
|
||||
- ${DATA_ROOT}/static/:/usr/share/nginx/html
|
||||
- ./configs/nginx:/etc/nginx
|
||||
labels:
|
||||
- traefik.frontend.rule=Host:chaospott.de
|
||||
- traefik.frontend.rule=Host:${DOMAIN}
|
||||
- traefik.port=80
|
||||
- traefik.docker.network=web
|
||||
networks:
|
||||
@@ -43,11 +43,11 @@ services:
|
||||
expose:
|
||||
- 80
|
||||
labels:
|
||||
- traefik.frontend.rule=Host:www.chaospott.de
|
||||
- traefik.frontend.rule=Host:${REDIRECT_DOMAIN}
|
||||
- traefik.port=80
|
||||
- traefik.frontend.passHostHeader=true
|
||||
environment:
|
||||
- dest=https://chaospott.de
|
||||
- dest=https://${DOMAIN}
|
||||
networks:
|
||||
extern:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user