GithubHelp home page GithubHelp logo

Comments (5)

k8s-ci-robot avatar k8s-ci-robot commented on June 22, 2024

This issue is currently awaiting triage.

If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

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/test-infra repository.

from ingress-nginx.

longwuyuan avatar longwuyuan commented on June 22, 2024

/remove-kind bug
/kind support

Try the root directive https://nginx.org/en/docs/http/ngx_http_core_module.html#alias

The nginx directives you choose are not coded in the controller, just to state the obvious.

Please feel free to re-open the issue and add the details as asked in a new bug report template, in case you find problem in the controller itself.

/close

from ingress-nginx.

k8s-ci-robot avatar k8s-ci-robot commented on June 22, 2024

@longwuyuan: Closing this issue.

In response to this:

/remove-kind bug
/kind support

Try the root directive https://nginx.org/en/docs/http/ngx_http_core_module.html#alias

The nginx directives you choose are not coded in the controller, just to state the obvious.

Please feel free to re-open the issue and add the details as asked in a new bug report template, in case you find problem in the controller itself.

/close

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/test-infra repository.

from ingress-nginx.

longwuyuan avatar longwuyuan commented on June 22, 2024

Actually I was wrong earlier (or maybe not as you are using snippet.sorry not clear) It seems the project removed the support for both alias and root directive #8624

Example of a custom backend service with custom error pages https://kubernetes.github.io/ingress-nginx/examples/customization/custom-errors/

from ingress-nginx.

albgus avatar albgus commented on June 22, 2024

Ok, that is a bit unfortunate. As mentioned in my original issue the documented method doesn't work because it enforces overwriting all errors returned from the backend, which is not what I want. However perhaps it's possible to implement something similar to the included error handling with a custom backend.

from ingress-nginx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.