Skip to content

Commit

Permalink
redirect http to https
Browse files Browse the repository at this point in the history
  • Loading branch information
robinpdev committed Feb 29, 2024
1 parent b0379b7 commit ca177d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ services:
#- "--certificatesresolvers.myresolver.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory"
- "--certificatesresolvers.myresolver.acme.email=robin.paret@ugent.be"
- "--certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json"
- "--entrypoints.web.http.redirections.entryPoint.to=websecure"
- "--entrypoints.web.http.redirections.entryPoint.scheme=https"
- "--entrypoints.web.http.redirections.entrypoint.permanent=true"
ports:
- "80:80"
- "443:443"
Expand Down

0 comments on commit ca177d2

Please sign in to comment.