diff --git a/infrastructure/ingress-nginx/release.yaml b/infrastructure/ingress-nginx/release.yaml index 0bf79679c2bd2e699ef80d6e156119facd57701a..a0d38a980f129c45cdc1ff9b430dfb02f053e773 100644 --- a/infrastructure/ingress-nginx/release.yaml +++ b/infrastructure/ingress-nginx/release.yaml @@ -76,6 +76,16 @@ spec: ## Allows customization of the configmap / nginx-configmap namespace ## configMapNamespace: "" # defaults to $(POD_NAMESPACE) + + # Will add custom configuration options to Nginx https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/ + config: + enable-modsecurity: "true" + enable-owasp-modsecurity-crs: "true" + enable-ocsp: "true" + hsts: "true" + hsts-max-age: "63072000" + enable-brotli: "true" + use-http2: "true" ## Allows customization of the tcp-services-configmap ##