-
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
limit_except returns 503 #11742
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. |
I am getting 404 without any snippets ;
|
/remove-kind bug |
This is stale, but we won't close it automatically, just bare in mind the maintainers may be busy with other tasks and will reach your issue ASAP. If you have any question or request to prioritize this, please reach |
What happened:
Using
limit_except GET { deny all; }
together withlocation = / { return 403; }
results in503
, instead of403
.This one is OK
This one is OK
This one should have returned 403 instead of 503
What you expected to happen:
I want to block all requests to "/" and allow only
GET
requests for every other route. Ingress should return403
, but it returns 503.NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.):
Kubernetes version (use
kubectl version
):How to reproduce this issue:
Use the following annotations:
The text was updated successfully, but these errors were encountered: