Deploy GitHub Pages

This commit is contained in:
k8s-ci-robot 2020-05-17 20:30:19 +00:00
parent a6e9d88358
commit 9f542843db
14 changed files with 74 additions and 74 deletions

View file

@ -3,7 +3,7 @@ data:
proxy-set-headers: "ingress-nginx/custom-headers"
kind: ConfigMap
metadata:
name: nginx-configuration
name: ingress-nginx-controller
namespace: ingress-nginx
labels:
app.kubernetes.io/name: ingress-nginx

View file

@ -1198,7 +1198,7 @@ server.</p>
<p>The nginx ingress controller will read the <code>ingress-nginx/nginx-configuration</code> ConfigMap, find the <code>proxy-set-headers</code> key, read HTTP headers from the <code>ingress-nginx/custom-headers</code> ConfigMap, and include those HTTP headers in all requests flowing from nginx to the backends.</p>
<h2 id="test">Test<a class="headerlink" href="#test" title="Permanent link"></a></h2>
<p>Check the contents of the ConfigMaps are present in the nginx.conf file using:
<code>kubectl exec nginx-ingress-controller-873061567-4n3k2 -n ingress-nginx cat /etc/nginx/nginx.conf</code></p>
<code>kubectl exec ingress-nginx-controller-873061567-4n3k2 -n ingress-nginx cat /etc/nginx/nginx.conf</code></p>