2021-07-28

How do I set custom headers using Google Kubernetes Engine?

I understand that an NGINX Ingress controller allows custom header creation using a ConfigMap. Is there either:

  1. a way to use NGINX for GKE or
  2. to directly specify custom headers in the networking.gke.io namespace?

I am specifically interested in setting HTTPS Strict Transport Security, Upgrade Insecure Requests and Content Security Policy headers. I find it a little award that the redirectToHttpfeature does not enabled these by default so I am desperate for any ideas.



from Recent Questions - Stack Overflow https://ift.tt/2VfkFX8
https://ift.tt/eA8V8J

No comments:

Post a Comment