This message was deleted.
# general
a
This message was deleted.
s
HI @swift-accountant-87565 this is my rancher ingress file. I already remove the tls part
Copy code
apiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
kind: Ingress
metadata:
  annotations:
    <http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: internal-test-nginx
    <http://meta.helm.sh/release-name|meta.helm.sh/release-name>: rancher
    <http://meta.helm.sh/release-namespace|meta.helm.sh/release-namespace>: cattle-system
    <http://nginx.ingress.kubernetes.io/proxy-connect-timeout|nginx.ingress.kubernetes.io/proxy-connect-timeout>: "30"
    <http://nginx.ingress.kubernetes.io/proxy-read-timeout|nginx.ingress.kubernetes.io/proxy-read-timeout>: "1800"
    <http://nginx.ingress.kubernetes.io/proxy-send-timeout|nginx.ingress.kubernetes.io/proxy-send-timeout>: "1800"
  name: rancher
  namespace: cattle-system
spec:
  rules:
  - host: <http://rancher.mgmt.xxxxxxx.com|rancher.mgmt.xxxxxxx.com>
    http:
      paths:
      - backend:
          service:
            name: rancher
            port:
              number: 80
        path: /
        pathType: ImplementationSpecific
s
reading https://github.com/rancher/rancher/issues/35088 You should also put tls=external On helm values for rancher installation
s
Thanks @swift-accountant-87565 but i already tried this. In my case, I have deployed aws Network load balancer which is internal-facing and I am accessing rancher over VPN
I found this Rancher Document.: Rancher only supports using the Amazon NLB when terminating traffic in tcp mode for port 443 rather than tls mode. This is due to the fact that the NLB does not inject the correct headers into requests when terminated at the NLB. This means that if you want to use certificates managed by the Amazon Certificate Manager (ACM), you should use an ALB. Ref Blog: https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/infrastructure-setup/amazon-elb-load-balancer#:~:text=Rancher%20only%20supports,use%20an%20ALB.
s
👍