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?
Rancher 2 disable HTTP to HTTPS redirect
3.6k views Asked by DanMar At
2
There are 2 answers
0
Wenqing Xu
On
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
Related Questions in NGINX
- Nginx reverse proxy with query parameters not working
- Root path analogue in uWSGI as in Uvicorn
- Keycloak: How to override Welcome Screen redirect behavior (to custom realm, instead of master realn/admin)
- nginx set up reverse proxy from subfolder to a port
- Nginx Not Correctly Redirecting Users To Custom Page
- How to connect to ssh server with domain name
- Nginx configuration file and SSL certificate errors in Docker
- Invalid Host header not being rejected by nginx
- Nginx only caches file endpoints
- How to configure Nginx for a VPS?
- Problem with changing default NGINX 404 error page
- My VPS does not accept HTTPS requests on a port other than 443
- NGINX Configuration Issue with Next.js and Strapi Project
- Openshift nginx proxy_pass not redirecting from current host to another
- Adonis.js in production : ENOENT: no such file or directory, open '/public/assets/.vite/manifest.json'
Related Questions in KUBERNETES-INGRESS
- How can the ingress controller receive traffic from a certain port in loadbalancer to a specific path
- Cannot Access kubernetes application via ingress on Docker Desktop
- Error while minikube addons enable ingress on windows
- Nginx-Ingress connection to service timed out. 504 Gateway Timeout returned
- "Readiness probe failed: HTTP probe failed with statuscode: 503" at NGINX Insgress Controller pod in Kubernetes cluster
- Kubernetes Ingress Port to Port route
- Error configuration for nginx-ingress controller
- nginx-ingress is not able to route to pod application
- How to set AzureIngressProhibitedTarget without hostname?
- http app unreachable from tailscale and funnel and k8s
- How add a label from header in ingress-nginx for prom metrics
- helm chart testing connection failed
- 504 gateway timeout can lead to DB connection leak and how to fix
- Redirect from one alb to another one based on Authorization header content
- Next.js deployed locally with Kind - Error 502 Bad Gateway NGINX
Related Questions in RANCHER
- docker inspect splunkImage Container ID: Warining: cannot create \"/opt/splunk/var/log/splunk
- Increase swap memory in Rancher or Podman with Mac Apple Sillicon
- Expose service on k8 Infrastructure
- failed to solve: python:3.13.0a5: error getting credentials - err: exit status 127 - Docker
- How can I modify vcluster cpu memory and disk on Rancher?
- Rancher 1.6 port forwarding on any host forwards to host with rancher/server installed
- Cannot pull image from insecure registry using Rancher's "docker-based development deployment"
- .net 8 WEB API calling AWS aws_signing_helper and aws sts assume-role in Linux / Rancher assistance
- Rancher ERR_CONNECTION_REFUSED
- Traefik Rancher new install can't access dashboard
- Rancher Single Docker Air-Gapped with Private Registry
- Unable to upload files > 1mb in Rancher; Nginx returns 413 error code for file sizes >1mb. How to modify configuration to allow for larger uploads?
- Opentelemetry otelcol-contrib Error in logs
- Is it possible to enable communication between Rancher and EKS nodes using internal IP addresses?
- How to grant access to all the CRD's in rancher kubernetes (RKE)?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)

Unfortunately I don't think you will be able to
disable SSLinRancher v2.As per Randcher documentation:
You can find there few ways to apply this certs:
Inside this doc you have hyerlinks to further
Rancher docs.As
Rancherby default deployingnginx controlleryou should also check Rancher docs about Nginx Controller.