mirror of
https://gitea.zaclys.com/yannic/selfhosting.git
synced 2026-04-25 17:00:40 +02:00
no wildcard
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user