<p>Hi i have use Nginx controller both community and Nginx repo both works for in cloud with <code>LoadBalancer</code> service. Where as Nginx controller both community and Nginx repo both dose not work with service <code>Nodeport</code> "error 404".</p>

<p><code>404 Not Found</code></p>

<p>Service Type Nodeport</p>

<pre><code>apiVersion: v1
kind: Service
metadata:
  name: ingress-nginx
  namespace: ingress-nginx
  labels:
    app.kubernetes.io/name: ingress-nginx
    app.kubernetes.io/part-of: ingress-nginx
spec:
  type: NodePort
  ports:
    - name: http
      port: 80
      targetPort: 80
      protocol: TCP
    - name: https
      port: 443
      targetPort: 443
      protocol: TCP
  selector:
    app.kubernetes.io/name: ingress-nginx
    app.kubernetes.io/part-of: ingress-nginx
</code></pre>

MD Khadeer
<p>The default behavior of a NGINX Ingress Controller is to reply with a default backed that replies with a <code>404 - default backend</code>: basically, it's a running Deployment resource returning that default page.</p>

<p>You can try overriding it passing to Helm a variable override using the path <code>defaultBackend.image.repository</code> as described in the <a href="https://github.com/helm/charts/tree/master/stable/nginx-ingress" rel="nofollow noreferrer">README</a></p>
