Skip to content

Commit

Permalink
Merge pull request #1054 from kube-hetzner/fix/traefik-v15-compatibility
Browse files Browse the repository at this point in the history
Fix/traefik v15 compatibility
  • Loading branch information
mysticaltech authored Oct 23, 2023
2 parents 5ce832d + 911730d commit 6404bcb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion kube.tf.example
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,9 @@ service:

ports:
web:
redirectTo: websecure
redirectTo:
port: websecure
priority: 10

proxyProtocol:
trustedIPs:
Expand Down
4 changes: 3 additions & 1 deletion locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,9 @@ service:
ports:
web:
%{if var.traefik_redirect_to_https~}
redirectTo: websecure
redirectTo:
port: websecure
priority: 10
%{endif~}
%{if !local.using_klipper_lb~}
proxyProtocol:
Expand Down

0 comments on commit 6404bcb

Please sign in to comment.