fdsf
This commit is contained in:
parent
06e21a738a
commit
ed00da9d92
|
@ -31,7 +31,8 @@ services:
|
||||||
- traefik.basic.allinone.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`)
|
- traefik.basic.allinone.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`)
|
||||||
- "traefik.basic.port=80"
|
- "traefik.basic.port=80"
|
||||||
- "traefik.basic.protocol=http"
|
- "traefik.basic.protocol=http"
|
||||||
|
- traefik.http.routers.allinone-https.middlewares=www-redirect
|
||||||
|
- traefik.http.routers.allinone-http.middlewares=https-redirect,www-redirect
|
||||||
|
|
||||||
# Enable www redirection for HTTP and HTTPS
|
# Enable www redirection for HTTP and HTTPS
|
||||||
# - traefik.http.routers.allAndOne-https.middlewares=www-redirect
|
# - traefik.http.routers.allAndOne-https.middlewares=www-redirect
|
||||||
|
|
Loading…
Reference in New Issue