redirect www subdomain to chaospott.de
This commit is contained in:
parent
82f294de2f
commit
263778b846
@ -30,13 +30,26 @@ services:
|
|||||||
- ${DATA_ROOT}/static/:/usr/share/nginx/html
|
- ${DATA_ROOT}/static/:/usr/share/nginx/html
|
||||||
- ./configs/nginx:/etc/nginx
|
- ./configs/nginx:/etc/nginx
|
||||||
labels:
|
labels:
|
||||||
- traefik.frontend.rule=Host:chaospott.de,www.chaospott.de
|
- traefik.frontend.rule=Host:chaospott.de
|
||||||
- traefik.port=80
|
- traefik.port=80
|
||||||
- traefik.docker.network=web
|
- traefik.docker.network=web
|
||||||
networks:
|
networks:
|
||||||
- extern
|
- extern
|
||||||
expose:
|
expose:
|
||||||
- 80
|
- 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:
|
networks:
|
||||||
extern:
|
extern:
|
||||||
|
Loading…
Reference in New Issue
Block a user