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
|
- traefik.http.routers.http-catchall.middlewares=redirect-to-https
|
||||||
# middleware redirect
|
# middleware redirect
|
||||||
- traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https
|
- traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https
|
||||||
- traefik.http.middlewares.redirect-to-https.redirectscheme.permanent=true
|
- traefik.http.middlewares.redirect-to-https.redirectscheme.permanent=false
|
||||||
# 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}
|
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
- 443:443
|
- 443:443
|
||||||
|
|||||||
Reference in New Issue
Block a user