Jump to content

Traefik: Difference between revisions

From 1G-N15's Place
Created page with "== Redirecting HTTP to HTTPS in K8s == [https://stackoverflow.com/questions/68575472/k3s-redirect-http-to-https This StackOverflow answer] is outdated. Use this instead: ports: web: http: redirections: entryPoint: to: websecure scheme: https permanent: true Feel free to post this as an answer, just link back :)"
 
No edit summary
 
Line 1: Line 1:
== Redirecting HTTP to HTTPS in K8s ==
== Redirecting HTTP to HTTPS in K8s ==


[https://stackoverflow.com/questions/68575472/k3s-redirect-http-to-https This StackOverflow answer] is outdated. Use this instead:
[https://stackoverflow.com/questions/68575472/k3s-redirect-http-to-https This StackOverflow answer] is outdated since at least chart version 41. Use this instead:


   ports:
   ports:

Latest revision as of 08:29, 20 July 2026

Redirecting HTTP to HTTPS in K8s

This StackOverflow answer is outdated since at least chart version 41. Use this instead:

 ports:
   web:
     http:
       redirections:
         entryPoint:
           to: websecure
           scheme: https
           permanent: true

Feel free to post this as an answer, just link back :)