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

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation