You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
What happened:
I have an application which will redirect domain-name/search to domain-name/home, this works well without ingress.
After I use ingress, and I set tls in ingress.
When I type https://host-name/search, it redirect to https://host-name:80/home, this is not what I want. is should be https://host-name/home
Similar issue is #1798, #1743, I add ingress.kubernetes.io/use-port-in-redirects: "true" but it doesn't work.
Add ingress.kubernetes.io/rewrite-target: / works but that is not acceptable in my case.
Any suggestion?
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.):
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
**Is this a BUG REPORT ** (choose one):
NGINX Ingress controller version: 0.21.0
Kubernetes version (use
kubectl version
):1.11.1Environment:
uname -a
):Linux ubuhq1 4.4.0-138-generic [nginx-ingress-controller] Watch of *api.Endpoints/*.api.Secret ended with: too old resource version #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
What happened:
I have an application which will redirect
domain-name/search
todomain-name/home
, this works well without ingress.After I use ingress, and I set tls in ingress.
When I type
https://host-name/search
, it redirect tohttps://host-name:80/home
, this is not what I want. is should behttps://host-name/home
Similar issue is #1798, #1743, I add
ingress.kubernetes.io/use-port-in-redirects: "true"
but it doesn't work.Add
ingress.kubernetes.io/rewrite-target: /
works but that is not acceptable in my case.Any suggestion?
What you expected to happen:
https://host-name/search
should redirect tohttps://host-name/home
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
The text was updated successfully, but these errors were encountered: