docker
This commit is contained in:
parent
73a1a4f0ca
commit
9a3a63c92a
|
@ -20,17 +20,22 @@ services:
|
||||||
|
|
||||||
- traefik.http-allAndOne.loadbalancer.server.port=80
|
- traefik.http-allAndOne.loadbalancer.server.port=80
|
||||||
|
|
||||||
- traefik.http.routers.allAndOne-http.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`)
|
# - traefik.http.routers.allAndOne-http.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`)
|
||||||
- traefik.http.routers.allAndOne-http.entrypoints=http
|
# - traefik.http.routers.allAndOne-http.entrypoints=http
|
||||||
|
|
||||||
|
# - traefik.http.routers.allAndOne-https.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`)
|
||||||
|
# - traefik.http.routers.allAndOne-https.entrypoints=https
|
||||||
|
# - traefik.http.routers.allAndOne-https.tls=true
|
||||||
|
# - traefik.http.routers.allAndOne-https.tls.certresolver=le
|
||||||
|
|
||||||
|
- traefik.basic.frontend.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`)
|
||||||
|
- "traefik.basic.port=3000"
|
||||||
|
- "traefik.basic.protocol=http"
|
||||||
|
|
||||||
- traefik.http.routers.allAndOne-https.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`)
|
|
||||||
- traefik.http.routers.allAndOne-https.entrypoints=https
|
|
||||||
- traefik.http.routers.allAndOne-https.tls=true
|
|
||||||
- traefik.http.routers.allAndOne-https.tls.certresolver=le
|
|
||||||
|
|
||||||
# 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
|
||||||
- traefik.http.routers.allAndOne-http.middlewares=https-redirect,www-redirect
|
# - traefik.http.routers.allAndOne-http.middlewares=https-redirect,www-redirect
|
||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
- default
|
- default
|
||||||
|
|
Loading…
Reference in New Issue