From 9ad919175235dcab84a3c6ccd9d80339267cd373 Mon Sep 17 00:00:00 2001 From: k8s-ci-robot Date: Tue, 3 May 2022 02:12:59 +0000 Subject: [PATCH] Deploy GitHub Pages --- .../configuration-snippets/index.html | 2 +- search/search_index.json | 2 +- sitemap.xml | 102 +++++++++--------- sitemap.xml.gz | Bin 711 -> 711 bytes 4 files changed, 53 insertions(+), 53 deletions(-) diff --git a/examples/customization/configuration-snippets/index.html b/examples/customization/configuration-snippets/index.html index 4b6407da1..348ae01e0 100644 --- a/examples/customization/configuration-snippets/index.html +++ b/examples/customization/configuration-snippets/index.html @@ -1,4 +1,4 @@ - Configuration Snippets - NGINX Ingress Controller
Skip to content

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 an example of specifying customer headers.

kubectl apply -f ingress.yaml
+ Configuration Snippets - NGINX Ingress Controller      

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 an example of specifying custom headers.

kubectl apply -f ingress.yaml
 

Test

Check if the contents of the annotation are present in the nginx.conf file using:

kubectl exec ingress-nginx-controller-873061567-4n3k2 -n kube-system -- cat /etc/nginx/nginx.conf