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

help request: How to have custom 404 page in apisix? #12007

Closed
rohitkrishna-marneni opened this issue Feb 27, 2025 · 2 comments
Closed

help request: How to have custom 404 page in apisix? #12007

rohitkrishna-marneni opened this issue Feb 27, 2025 · 2 comments
Labels
question label for questions asked by users

Comments

@rohitkrishna-marneni
Copy link

Description

Is there a plugin which checks the upstream status and if its 404 allows me to provide an url to a custom 404 not found page in apisix? I looked at response-rewrite, but thats for modifying headers/body of the request. On the other hand, there is an error_page plugin but seems like its only available for enterprise version of apisix.

Environment

  • APISIX version (run apisix version): 3.10.0-debian
  • Operating system (run uname -a): Ubuntu
@dosubot dosubot bot added the question label for questions asked by users label Feb 27, 2025
@juzhiyuan
Copy link
Member

Hi @rohitkrishna-marneni, I confirm that APISIX does not officially offer such a plugin out of the box so far. You can follow this guide (I confirm that APISIX does not officially offer such a plugin out of the box. You can follow this guide to write your own logic.) to write your own logic.

@juzhiyuan juzhiyuan closed this as not planned Won't fix, can't repro, duplicate, stale Mar 2, 2025
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Apache APISIX backlog Mar 2, 2025
@rohitkrishna-marneni
Copy link
Author

Thanks for the reply. Can you link the guide that you mentioned if you don't mind?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question label for questions asked by users
Projects
Status: Done
Development

No branches or pull requests

2 participants