ingress-nginx-helm/docs/examples/customization/configuration-snippets
Loïc Mahieu c0e6daebef
Docs: examples: fix link
Fix link
2018-06-29 15:37:21 +02:00
..
ingress.yaml Enhance Distributed Tracing Documentation 2018-06-23 23:51:46 -05:00
README.md Docs: examples: fix link 2018-06-29 15:37:21 +02:00

Configuration Snippets

Ingress

The Ingress in this example adds a custom header to Nginx configuration that only applies to that specific Ingress. If you want to add headers that apply globally to all Ingresses, please have a look at this example.

$ kubectl apply -f ingress.yaml

Test

Check if the contents of the annotation are present in the nginx.conf file using: kubectl exec nginx-ingress-controller-873061567-4n3k2 -n kube-system cat /etc/nginx/nginx.conf