Compare commits

...

2 commits

Author SHA1 Message Date
be737857bf Upgrade to Traefik 2.4 2021-03-13 14:12:56 +01:00
2d367d26fa web deployment clean up 2021-03-13 14:12:25 +01:00
2 changed files with 1 additions and 6 deletions

View file

@ -3,7 +3,7 @@ version: "3.3"
services:
traefik:
image: traefik:v2.3
image: traefik:v2.4
restart: unless-stopped
command:
- "--api.insecure=false"

View file

@ -11,13 +11,8 @@ services:
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.web.entrypoints=http"
- "traefik.http.routers.web.rule=Host(`${DOMAIN}`) || Host(`www.${DOMAIN}`)"
- "traefik.http.middlewares.web-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.web.middlewares=web-https-redirect"
- "traefik.http.routers.web-secure.entrypoints=websecure"
- "traefik.http.routers.web-secure.rule=Host(`${DOMAIN}`) || Host(`www.${DOMAIN}`)"
- "traefik.http.routers.web-secure.tls=true"
- "traefik.http.routers.web-secure.tls.certresolver=myresolver"
- "traefik.http.routers.web-secure.tls.options=intermediate@file"
- "traefik.docker.network=web"