Skip to content

Commit

Permalink
Merge pull request #1615 from tiran133/patch-1
Browse files Browse the repository at this point in the history
Fixed Traefik-Values for https redirection.
  • Loading branch information
mysticaltech authored Jan 20, 2025
2 parents 1fcb203 + 539c326 commit 9ac11a6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -654,8 +654,11 @@ service:
ports:
web:
%{if var.traefik_redirect_to_https~}
redirectTo:
port: websecure
redirections:
entryPoint:
to: websecure
scheme: https
permanent: true
%{endif~}
%{if !local.using_klipper_lb~}
proxyProtocol:
Expand Down

0 comments on commit 9ac11a6

Please sign in to comment.