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
|
||||
- ./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:
|
||||
|
Loading…
Reference in New Issue
Block a user