<p>An SSL redirect is enabled by default in a Kubernetes NGINX ingress. How can this be disabled? Current implementation below:</p>

<pre><code>apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: project_name-ingress
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  rules:
  - http:
      paths:
      - path: /
        backend:
          serviceName: project_name
          servicePort: 80
</code></pre>

<p>Adding <code>nginx.ingress.kubernetes.io/ssl-redirect: &quot;false&quot;</code> to <code>annotations</code> will disable the SSL redirect:</p>
<pre><code>apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: project_name-ingress
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
    nginx.ingress.kubernetes.io/ssl-redirect: &quot;false&quot;
spec:
  rules:
  - http:
      paths:
      - path: /
        backend:
          serviceName: project_name
          servicePort: 80
</code></pre>
<p>Note that <code>false</code> is wrapped in quotation marks. I found it didn't work without this string casting.</p>
