Trying everything for compression - worked :)

This commit is contained in:
Jade Ellis
2024-03-07 20:46:00 +00:00
parent bfd7f5bd3f
commit 0bb98fbb24
2 changed files with 19 additions and 3 deletions
+16 -3
View File
@@ -30,6 +30,15 @@ trustedIPs = [ ]
to="https"
scheme = "https"
[http.middlewares]
[http.middlewares.traefik-compress.compress]
[http.routers.http]
middlewares = "traefik-compress"
[http.routers.https]
middlewares = "traefik-compress"
[http.routers.traefik]
middlewares = "traefik-compress"
# [entryPoints.traefik]
# address = ":9000"
@@ -41,10 +50,12 @@ storage = "/certificates/acme.json"
# - "--certificatesresolvers.letsencrypt.acme.httpchallenge=true"
# - "--certificatesresolvers.letsencrypt.acme.httpChallenge.entryPoint=http"
tlschallenge = true
[tls.options]
[tls.options.modern]
minVersion = "VersionTLS13"
[tls.options.intermediate]
sniStrict = true
[tls.options.default]
minVersion = "VersionTLS12"
cipherSuites = [
"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
@@ -53,4 +64,6 @@ cipherSuites = [
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305"
]
]
sniStrict = true