How to remove via header in kong kubernetes ingress controller

Hi Team,

Can you please help on kong kubernetes ingress controller remove via header from Response Headers.

You can control this using KONG_HEADERS environment variable:

Got it. Thanks @hbagdi.
I need one more help regarding kong,
We have kubernetes cluster with Nginx-Ingress and kong-Ingress. We added only redx-service in Kong. But here other nginx-ingress services also getting added default. When i remove those services from Konga UI. After sometime they came back again. How can i remove those services permanently from kong.

You are looking for kubernetes.io/ingress.class annotation. You need to configure Kong with an ingress class CONTROLLER_INGRESS_CLASS: kong-foo, and then annotation your redx service with that annotation.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ