💻Tech/🐳docker, kubernetes

k8s nginx-ingress disable hsts

_viper_ 2024. 6. 21. 11:00
반응형

https를 사용하는 ingress 에서 아래 configuration-snippet 설정을 추가

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: http-ingress
  annotations:
    nginx.ingress.kubernetes.io/configuration-snippet: |
      more_clear_headers "Strict-Transport-Security";