-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
How to get which url redirect to default backend #3603
Comments
@lw8008 I am sorry but what are you trying to do exactly? |
@aledbf thanks for your quick response. if i want to get those "invalid" access url, what's your suggestion? |
@lw8008 that is correct. You will see a 404 in the log but no redirect because there is no one. When there is no endpoints, the controller replaces the service with default backend |
Thank @aledbf But it seems i can't get 404 in the access.log for those access replaces with default backend. Here is my nginx-ingress-controller:0.18.0 startup parameter: i'm wondering if i miss some config? |
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 or FEATURE REQUEST? (choose one):
FEATURE REQUEST
NGINX Ingress controller version:
nginx-ingress-controller:0.18.0
startup conf:
args:
- /nginx-ingress-controller
- --default-backend-service=$(POD_NAMESPACE)/default-http-backend
...
Kubernetes version (use
kubectl version
):1.11.1
Environment:
Private Data Center
uname -a
):What happened:
It sems i can't get those access which redirect to default backend since no endpoint added in both access.log and error.log of Ingress.
What you expected to happen:
Could you pls guide me if i need additional config in Ingress or not support by default and need use my own default backend to log this?
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: