no wildcard
This commit is contained in:
parent
fa2983199d
commit
23555aa71b
1 changed files with 1 additions and 6 deletions
|
@ -26,12 +26,7 @@ services:
|
|||
- traefik.http.routers.http-catchall.middlewares=redirect-to-https
|
||||
# middleware redirect
|
||||
- traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https
|
||||
- traefik.http.middlewares.redirect-to-https.redirectscheme.permanent=true
|
||||
# Global wildcard certificates
|
||||
- traefik.http.routers.wildcard-certs.tls.certresolver=letsencrypt
|
||||
- traefik.http.routers.wildcard-certs.entrypoints=web
|
||||
- traefik.http.routers.wildcard-certs.tls.domains[0].main=${DOMAIN}
|
||||
- traefik.http.routers.wildcard-certs.tls.domains[0].sans=*.${DOMAIN}
|
||||
- traefik.http.middlewares.redirect-to-https.redirectscheme.permanent=false
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
|
|
Loading…
Add table
Reference in a new issue