File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,8 @@ services:
102
102
- " traefik.http.routers.website-http.middlewares=website-redirect-to-www,website-redirect-to-https"
103
103
- " traefik.http.routers.website-http.rule=Host(`example.com`) || Host(`www.example.com`)"
104
104
- " traefik.http.routers.website-http.entrypoints=http"
105
- - " traefik.http.routers.website-https.rule=Host(`www.example.com`)"
105
+ - " traefik.http.routers.website-https.middlewares=website-redirect-to-www"
106
+ - " traefik.http.routers.website-https.rule=Host(`example.com`) || Host(`www.example.com`)"
106
107
- " traefik.http.routers.website-https.entrypoints=https"
107
108
- " traefik.http.routers.website-https.tls.certresolver=defaultResolver"
108
109
- " traefik.http.services.website-http-service.loadbalancer.server.port=80"
You can’t perform that action at this time.
0 commit comments