Skip to content

Commit

Permalink
test nginx configuration with chosen ciphers suites
Browse files Browse the repository at this point in the history
  • Loading branch information
SonOfLope committed Jul 23, 2024
1 parent 63397f1 commit 3909338
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 0 additions & 3 deletions kubernetes/aks/apps/finesse/public/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ metadata:
nginx.ingress.kubernetes.io/rewrite-target: /$2 # https://kubernetes.github.io/ingress-nginx/examples/rewrite/
ingress.kubernetes.io/force-ssl-redirect: "true"
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/ssl-prefer-server-ciphers: "true"
nginx.ingress.kubernetes.io/ssl-ciphers: "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256"
nginx.ingress.kubernetes.io/ssl-ecdh-curve: "secp256r1:secp384r1:secp521r1"
spec:
ingressClassName: nginx
tls:
Expand Down
7 changes: 6 additions & 1 deletion kubernetes/aks/system/ingress-nginx/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ controller:
# -- Will add custom configuration options to Nginx https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/
config:
proxy-body-size: "200m"
server-snippet: add_header X-Robots-Tag "noindex,nofollow";
ssl-prefer-server-ciphers: "true"
ssl-ciphers: "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256"
ssl-ecdh-curve: "secp256r1:secp384r1:secp521r1"
server-snippet: |
add_header X-Robots-Tag "noindex,nofollow";
ssl_conf_command CipherSuites TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384;
# -- Annotations to be added to the controller config configuration configmap.
configAnnotations: {}
# -- Will add custom headers before sending traffic to backends according to https://github.com/kubernetes/ingress-nginx/tree/main/docs/examples/customization/custom-headers
Expand Down

0 comments on commit 3909338

Please sign in to comment.