Deploy GitHub Pages

This commit is contained in:
Travis Bot 2020-02-15 12:53:38 +00:00
parent 4ee56b534d
commit f7090878ba
10 changed files with 82 additions and 66 deletions

View file

@ -1461,7 +1461,7 @@ To change this behavior use the flag <code class="codehilite"><span class="err">
</code></pre></div></p>
</div>
<p>The following <strong>Mandatory Command</strong> is required for all deployments.</p>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.28.0/deploy/static/mandatory.yaml</span>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.29.0/deploy/static/mandatory.yaml</span>
</code></pre></div>
<div class="admonition tip">
@ -1473,7 +1473,7 @@ To change this behavior use the flag <code class="codehilite"><span class="err">
<h4 id="docker-for-mac">Docker for Mac<a class="headerlink" href="#docker-for-mac" title="Permanent link"></a></h4>
<p>Kubernetes is available in Docker for Mac (from <a href="https://docs.docker.com/docker-for-mac/release-notes/#stable-releases-of-2018">version 18.06.0-ce</a>)</p>
<p>Create a service</p>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.28.0/deploy/static/provider/cloud-generic.yaml</span>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.29.0/deploy/static/provider/cloud-generic.yaml</span>
</code></pre></div>
<h4 id="minikube">minikube<a class="headerlink" href="#minikube" title="Permanent link"></a></h4>
@ -1510,16 +1510,16 @@ Please check the <a href="https://aws.amazon.com/elasticloadbalancing/details/">
<p>For L4:</p>
<p>Check that no change is necessary with regards to the ELB idle timeout. In some scenarios, users may want to modify the ELB idle timeout, so please check the <a href="#elb-idle-timeouts">ELB Idle Timeouts section</a> for additional information. If a change is required, users will need to update the value of <code class="codehilite"><span class="err">service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout</span></code> in <code class="codehilite"><span class="err">provider/aws/service-l4.yaml</span></code></p>
<p>Then execute:</p>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.28.0/deploy/static/provider/aws/service-l4.yaml</span>
<span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.28.0/deploy/static/provider/aws/patch-configmap-l4.yaml</span>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.29.0/deploy/static/provider/aws/service-l4.yaml</span>
<span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.29.0/deploy/static/provider/aws/patch-configmap-l4.yaml</span>
</code></pre></div>
<p>For L7:</p>
<p>Change line of the file <code class="codehilite"><span class="err">provider/aws/service-l7.yaml</span></code> replacing the dummy id with a valid one <code class="codehilite"><span class="err">&quot;arn:aws:acm:us-west-2:XXXXXXXX:certificate/XXXXXX-XXXXXXX-XXXXXXX-XXXXXXXX&quot;</span></code></p>
<p>Check that no change is necessary with regards to the ELB idle timeout. In some scenarios, users may want to modify the ELB idle timeout, so please check the <a href="#elb-idle-timeouts">ELB Idle Timeouts section</a> for additional information. If a change is required, users will need to update the value of <code class="codehilite"><span class="err">service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout</span></code> in <code class="codehilite"><span class="err">provider/aws/service-l7.yaml</span></code></p>
<p>Then execute:</p>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.28.0/deploy/static/provider/aws/service-l7.yaml</span>
<span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.28.0/deploy/static/provider/aws/patch-configmap-l7.yaml</span>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.29.0/deploy/static/provider/aws/service-l7.yaml</span>
<span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.29.0/deploy/static/provider/aws/patch-configmap-l7.yaml</span>
</code></pre></div>
<p>This example creates an ELB with just two listeners, one in port 80 and another in port 443</p>
@ -1531,21 +1531,21 @@ Please check the <a href="https://aws.amazon.com/elasticloadbalancing/details/">
<p>More information with regards to idle timeouts for your Load Balancer can be found in the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html">official AWS documentation</a>.</p>
<h5 id="network-load-balancer-nlb">Network Load Balancer (NLB)<a class="headerlink" href="#network-load-balancer-nlb" title="Permanent link"></a></h5>
<p>This type of load balancer is supported since v1.10.0 as an ALPHA feature.</p>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.28.0/deploy/static/provider/aws/service-nlb.yaml</span>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.29.0/deploy/static/provider/aws/service-nlb.yaml</span>
</code></pre></div>
<h4 id="gce-gke">GCE-GKE<a class="headerlink" href="#gce-gke" title="Permanent link"></a></h4>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.28.0/deploy/static/provider/cloud-generic.yaml</span>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.29.0/deploy/static/provider/cloud-generic.yaml</span>
</code></pre></div>
<p><strong>Important Note:</strong> proxy protocol is not supported in GCE/GKE</p>
<h4 id="azure">Azure<a class="headerlink" href="#azure" title="Permanent link"></a></h4>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.28.0/deploy/static/provider/cloud-generic.yaml</span>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.29.0/deploy/static/provider/cloud-generic.yaml</span>
</code></pre></div>
<h4 id="bare-metal">Bare-metal<a class="headerlink" href="#bare-metal" title="Permanent link"></a></h4>
<p>Using <a href="https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport">NodePort</a>:</p>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.28.0/deploy/static/provider/baremetal/service-nodeport.yaml</span>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.29.0/deploy/static/provider/baremetal/service-nodeport.yaml</span>
</code></pre></div>
<div class="admonition tip">

View file

@ -1236,7 +1236,7 @@ in the controller Deployment.</p>
<p>simply change the <code class="codehilite"><span class="err">0.9.0</span></code> tag to the version you wish to upgrade to.
The easiest way to do this is e.g. (do note you may need to change the name parameter according to your installation):</p>
<div class="codehilite"><pre><span></span><code><span class="err">kubectl set image deployment/nginx-ingress-controller \</span>
<span class="err"> nginx-ingress-controller=quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.28.0</span>
<span class="err"> nginx-ingress-controller=quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.29.0</span>
</code></pre></div>
<p>For interactive editing, use <code class="codehilite"><span class="err">kubectl edit deployment nginx-ingress-controller</span></code>.</p>

View file

@ -1246,7 +1246,7 @@ service/nginx-errors ClusterIP <span class="m">10</span>.0.0.12 &lt;none&g
<a href="../../../deploy/">deployment guide</a>, then follow these steps:</p>
<ol>
<li>
<p>Edit the <code class="codehilite"><span class="err">nginx-ingress-controller</span></code> Deployment and set the value of the <code class="codehilite"><span class="err">--default-backend</span></code> flag to the name of the
<p>Edit the <code class="codehilite"><span class="err">nginx-ingress-controller</span></code> Deployment and set the value of the <code class="codehilite"><span class="err">--default-backend-service</span></code> flag to the name of the
newly created error backend.</p>
</li>
<li>

View file

@ -1302,7 +1302,7 @@ nginx controller.</p>
for the ingress).</li>
<li>You have the nginx-ingress controller installed in typical fashion (must be
at least
<a href="https://quay.io/kubernetes-ingress-controller/nginx-ingress-controller">quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.28.0</a>
<a href="https://quay.io/kubernetes-ingress-controller/nginx-ingress-controller">quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.29.0</a>
for grpc support.</li>
<li>You have a backend application running a gRPC server and listening for TCP
traffic. If you prefer, you can use the

View file

@ -1160,7 +1160,7 @@ you will need to provide the Deployment with the permissions to create pods.</p>
<div class="codehilite"><pre><span></span><code><span class="go">kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/docs/examples/psp/psp.yaml</span>
</code></pre></div></p>
<p>Now that the pod security policy is applied, we can continue as usual by applying the
<a href="https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.28.0/deploy/static/mandatory.yaml">mandatory.yaml</a>
<a href="https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.29.0/deploy/static/mandatory.yaml">mandatory.yaml</a>
according to the <a href="../../deploy/">Installation Guide</a>.</p>
<p>Note: PSP permissions must be granted before to the creation of the Deployment and the ReplicaSet.
If the Deployment or ReplicaSet already exist, they will receive the PSP permissions

View file

@ -24,7 +24,7 @@ spec:
# hostNetwork: true
terminationGracePeriodSeconds: 60
containers:
- image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.28.0
- image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.29.0
name: nginx-ingress-controller
readinessProbe:
httpGet:

File diff suppressed because one or more lines are too long

View file

@ -2,252 +2,252 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://kubernetes.github.io/ingress-nginx/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/how-it-works/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/troubleshooting/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/kubectl-plugin/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/development/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/baremetal/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/rbac/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/validating-webhook/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/deploy/upgrade/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/basic-usage/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/custom-template/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/log-format/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/cli-arguments/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/custom-errors/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/default-backend/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/exposing-tcp-udp-services/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/fcgi-services/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/ingress-path-matching/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/external-articles/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/miscellaneous/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/monitoring/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/multiple-ingress/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/tls/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/modsecurity/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/user-guide/third-party-addons/opentracing/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/PREREQUISITES/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/affinity/cookie/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/auth/basic/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/auth/client-certs/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/auth/external-auth/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/auth/oauth-external-auth/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/configuration-snippets/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/custom-configuration/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/custom-errors/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/custom-headers/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/external-auth-headers/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/ssl-dh-param/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/customization/sysctl/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/docker-registry/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/grpc/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/multi-tls/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/rewrite/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/static-ip/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/tls-termination/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://kubernetes.github.io/ingress-nginx/examples/psp/</loc>
<lastmod>2020-02-14</lastmod>
<lastmod>2020-02-15</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

Binary file not shown.

View file

@ -1074,6 +1074,13 @@
gzip-level
</a>
</li>
<li class="md-nav__item">
<a href="#gzip-min-length" class="md-nav__link">
gzip-min-length
</a>
</li>
<li class="md-nav__item">
@ -2700,6 +2707,13 @@
gzip-level
</a>
</li>
<li class="md-nav__item">
<a href="#gzip-min-length" class="md-nav__link">
gzip-min-length
</a>
</li>
<li class="md-nav__item">
@ -4333,6 +4347,8 @@ The default mime type list to compress is: <code class="codehilite"><span class=
<p>Enables or disables <a href="http://nginx.org/en/docs/http/ngx_http_v2_module.html">HTTP/2</a> support in secure connections.</p>
<h2 id="gzip-level">gzip-level<a class="headerlink" href="#gzip-level" title="Permanent link"></a></h2>
<p>Sets the gzip Compression Level that will be used. <em><strong>default:</strong></em> 5</p>
<h2 id="gzip-min-length">gzip-min-length<a class="headerlink" href="#gzip-min-length" title="Permanent link"></a></h2>
<p>Minimum length of responses to be returned to the client before it is eligible for gzip compression, in bytes. <em><strong>default:</strong></em> 256</p>
<h2 id="gzip-types">gzip-types<a class="headerlink" href="#gzip-types" title="Permanent link"></a></h2>
<p>Sets the MIME types in addition to "text/html" to compress. The special value "*" matches any MIME type. Responses with the "text/html" type are always compressed if <code class="codehilite"><span class="err">[use-gzip](#use-gzip)</span></code> is enabled.
<em><strong>default:</strong></em> <code class="codehilite"><span class="err">application/atom+xml application/javascript application/x-javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/svg+xml image/x-icon text/css text/plain text/x-component</span></code>.</p>