Explorar o código

http->https redirect

Josh Bicking %!s(int64=2) %!d(string=hai) anos
pai
achega
e8b1f8e372
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      traefik-helmchartconfig.yaml

+ 2 - 0
traefik-helmchartconfig.yaml

@@ -21,6 +21,8 @@ spec:
       - "--entrypoints.websecure.http.tls.certResolver=letsencrypt"
       - "--entrypoints.websecure.http.tls.domains[0].main=jibby.org"
       - "--entrypoints.websecure.http.tls.domains[0].sans=*.jibby.org"
+      - "--entrypoints.web.http.redirections.entryPoint.to=:443"
+      - "--entrypoints.web.http.redirections.entrypoint.scheme=https"
 
       - "--log.level=DEBUG"
       # debug, uncomment for testing