Reputation: 21
SSL redirect is enabled by default in a Kubernetes NGINX ingress on Rancher 2. We changed the config map and redeployed the nginx -ingres in the system namespace, but the redirect still happens. Has someone managed to disable it?
Upvotes: 0
Views: 4324
Reputation: 1
As an update, rancher can disable http -> https redirection by disabling ingress's TLS and set a custom header "X-Forwarded-Proto: https"
from ingress controller -> rancher,
reference:
https://github.com/rancher/rancher/issues/35088
Upvotes: 0
Reputation: 14084
Unfortunately I don't think you will be able to disable SSL
in Rancher v2
.
As per Randcher documentation:
For security purposes, SSL (Secure Sockets Layer) is required when using Rancher. SSL secures all Rancher network communication, like when you login or interact with a cluster.
You can find there few ways to apply this certs:
Inside this doc you have hyerlinks to further Rancher docs
.
As Rancher
by default deploying nginx controller
you should also check Rancher docs about Nginx Controller.
Upvotes: 1