-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
path based routing is not working #12379
Comments
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/close |
@longwuyuan: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
`apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-quicklinks-redirect
namespace: testing
annotations:
cert-manager.io/issuer: "letsencrypt-prod-promsite"
ingress.kubernetes.io/service-upstream: "true"
kubernetes.io/ingress.class: "nginx"
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/app-root: "/quicklinks"
nginx.ingress.kubernetes.io/proxy-body-size: 3g
nginx.ingress.kubernetes.io/rewrite-target: "/"
spec:
tls:
- hosts:
- bar.testing.com
secretName: letsencrypt-cert-promsite
rules:
- host: bar.testing.com
http:
paths:
- pathType: Prefix
path: "/coffee"
backend:
service:
name: service-a
port:
number: 8050
- pathType: ImplementationSpecific
path: "/"
backend:
service:
name: service-b
port:
number: 8191
``
i am able to access service-b with bar.testing.com
unable to access service-b bar.testing.com/coffee
its showing empty webpage with 308 redirect in network logs
Ingress Nginx Controller Version:v1.11.1
helm chart version : 4.11.1
The text was updated successfully, but these errors were encountered: