enable https
This commit is contained in:
parent
0ae631bfde
commit
2db2f5172f
1 changed files with 10 additions and 0 deletions
|
@ -11,6 +11,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
ports:
|
ports:
|
||||||
|
- 443:443
|
||||||
- 80:80
|
- 80:80
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -33,4 +34,13 @@ services:
|
||||||
- --api.insecure=true
|
- --api.insecure=true
|
||||||
- --api.dashboard=true
|
- --api.dashboard=true
|
||||||
- --entrypoints.web.address=:80
|
- --entrypoints.web.address=:80
|
||||||
|
- --entrypoints.web.http.redirections.entrypoint=true
|
||||||
|
- --entrypoints.web.http.redirections.entrypoint.to=websecure
|
||||||
|
- --entrypoints.web.http.redirections.entrypoint.scheme=https
|
||||||
|
- --entrypoints.web.http.redirections.entrypoint.permanent=true
|
||||||
|
- --entrypoints.websecure.address=:443
|
||||||
- --providers.docker.exposedbydefault=false
|
- --providers.docker.exposedbydefault=false
|
||||||
|
- --certificatesresolvers.letsencrypt.acme=true
|
||||||
|
- --certificatesresolvers.letsencrypt.acme.email=pim@kunis.nl
|
||||||
|
- --certificatesresolvers.letsencrypt.acme.httpchallenge=true
|
||||||
|
- --certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web
|
||||||
|
|
Reference in a new issue