Explorar o código

min tls 1.3

and adding an insecure version for unifi protect, since it is using a self signed cert
Jason Playne %!s(int64=3) %!d(string=hai) anos
pai
achega
c53ee31345
Modificáronse 1 ficheiros con 9 adicións e 1 borrados
  1. 9 1
      network/traefik/static.yaml

+ 9 - 1
network/traefik/static.yaml

@@ -1,7 +1,15 @@
+tls:
+  options:
+    default:
+      minVersion: VersionTLS13
+
 http:
   serversTransports:
     http1:
       disableHTTP2: true
+    http1insecure:
+      disableHTTP2: true
+      insecureSkipVerify: true
 
   routers:
     unifi-protect:
@@ -37,7 +45,7 @@ http:
   services:
     unifi-protect:
       loadBalancer:
-        serversTransport: http1
+        serversTransport: http1insecure
         servers:
           - url: "https://10.10.20.10/"
     planes: