Skip to content
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

Nginx ingress controller(configured with "custom-http-errors") should return original error code instead of 200 #2621

Closed
chestack opened this issue Jun 11, 2018 · 1 comment

Comments

@chestack
Copy link

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

Bug about custom-http-errors

NGINX Ingress controller version:
any version with "custom-error-code" configuration

What happened:
Now nginx return 200 instead of real error http codes if configured custom-http-errors
ref: kubernetes-retired/contrib#2285

**Note: it works but it does not returns 200 instead of the error code. That's the reason of the internal request.

What you expected to happen:
Return real http error code

@antoineco
Copy link
Contributor

@aledbf this can be closed.

@aledbf aledbf closed this as completed Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants