Skip to content

Commit

Permalink
chore: fix traefik configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vpukhanov committed Jul 31, 2024
1 parent 247f3a9 commit 88a45b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ servers:
traefik.http.routers.urbanite.rule: Host(`urbanite.pukhanov.ru`)
traefik.http.routers.urbanite_secure.rule: Host(`urbanite.pukhanov.ru`)
traefik.http.routers.urbanite_secure.entrypoints: websecure
traefik.http.routers.urbanite_secure.tls: true
traefik.http.routers.urbanite_secure.tls.certresolver: letsencrypt

registry:
Expand All @@ -31,6 +30,9 @@ traefik:
args:
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.letsencrypt.acme.email: "vyacheslav@pukhanov.ru"
certificatesResolvers.letsencrypt.acme.storage: "/letsencrypt/acme.json"
certificatesResolvers.letsencrypt.acme.httpchallenge: true
Expand Down

0 comments on commit 88a45b9

Please sign in to comment.