title: using NGINX ingress with https not on 443
body: <p>How do you use an NGINX ingress controller to route to an app using SSL that is not running on 443?    I found <a href="https://stackoverflow.com/questions/56243121/can-i-set-custom-ports-for-a-kubernetes-ingress-to-listen-on-besides-80-443">this post</a> which seems to say it's not possible.</p>
  <p>Deployment:</p>
  <pre><code>apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: test-deployment
  spec:
    selector:
      matchLabels:
        app: foo
    replicas: 2 
    template:
      metadata:
        labels:
          app: foo
      spec:
        containers:
        - name: foo
          image: bar
          ports:
          - containerPort: 3000
  </code></pre>
  <p>Trying:</p>
  <pre><code>apiVersion: extensions/v1beta1
  kind: Ingress
  metadata:
    name: foo-ingress
    annotations:
      nginx.ingress.kubernetes.io/rewrite-target: /
  spec:
    rules:
    - host: foo.com
    - http:
        paths:
        - path: /
          backend:
            serviceName: foo
            servicePort: 3000
  </code></pre>