Skip to content

Commit

Permalink
traefik: redirect http to https
Browse files Browse the repository at this point in the history
  • Loading branch information
navilg committed Nov 18, 2023
1 parent 8f9dc75 commit 6e6982b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose-traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ services:
- --providers.docker.network=mynetwork
- --entrypoints.web.address=:80
- --entrypoints.websecure.address=:443
- --entrypoints.web.http.redirections.entryPoint.to=websecure
- --entrypoints.web.http.redirections.entryPoint.scheme=https
- --entrypoints.web.http.redirections.entryPoint.permanent=true
- --certificatesresolvers.le.acme.email=${LE_EMAIL}
- --certificatesresolvers.le.acme.storage=/letsencrypt/acme.json
- --certificatesresolvers.le.acme.httpChallenge.entrypoint=web
Expand Down

0 comments on commit 6e6982b

Please sign in to comment.