redirect www subdomain to chaospott.de

This commit is contained in:
Zehka 2020-07-06 10:58:19 +02:00
parent 82f294de2f
commit 263778b846

View File

@ -30,13 +30,26 @@ services:
- ${DATA_ROOT}/static/:/usr/share/nginx/html
- ./configs/nginx:/etc/nginx
labels:
- traefik.frontend.rule=Host:chaospott.de,www.chaospott.de
- traefik.frontend.rule=Host:chaospott.de
- traefik.port=80
- traefik.docker.network=web
networks:
- extern
expose:
- 80
www-redirector:
image: cryptkiddie2/redirector:latest
restart: always
expose:
- 80
labels:
- traefik.frontend.rule=Host:www.chaospott.de
- traefik.port=80
- traefik.frontend.passHostHeader=true
environment:
- dest=https://chaospott.de
networks:
extern:
networks:
extern: