Created
March 11, 2026 20:19
-
-
Save pawgajda-drs/7959799791d6bd49ab96f49c06b8d637 to your computer and use it in GitHub Desktop.
Traefik Middlewares
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: traefik.io/v1alpha1 | |
| kind: Middleware | |
| metadata: | |
| name: default-buffers | |
| spec: | |
| buffering: | |
| # body size | |
| maxRequestBodyBytes: 0 | |
| maxResponseBodyBytes: 0 | |
| # buffers size 256 KiB | |
| memRequestBodyBytes: 262144 | |
| memResponseBodyBytes: 262144 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: traefik.io/v1alpha1 | |
| kind: ServersTransport | |
| metadata: | |
| name: default-transport | |
| spec: | |
| forwardingTimeouts: | |
| dialTimeout: 5s | |
| responseHeaderTimeout: 60s | |
| idleConnTimeout: 60s | |
| maxIdleConnsPerHost: 64 | |
| insecureSkipVerify: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: traefik.io/v1alpha1 | |
| kind: TLSOption | |
| metadata: | |
| name: recommended-tls | |
| spec: | |
| minVersion: VersionTLS12 | |
| sniStrict: true | |
| cipherSuites: | |
| # TLS 1.3 | |
| - TLS_AES_256_GCM_SHA384 | |
| - TLS_AES_128_GCM_SHA256 | |
| - TLS_CHACHA20_POLY1305_SHA256 | |
| # TLS 1.2 | |
| - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 | |
| - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 | |
| - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 | |
| - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 | |
| - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 | |
| - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 | |
| curvePreferences: | |
| - CurveP256 | |
| - CurveP384 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment