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

Add error code and error message as variables at error page #1347

Open
aljaznuncic opened this issue Jul 2, 2024 · 1 comment
Open

Add error code and error message as variables at error page #1347

aljaznuncic opened this issue Jul 2, 2024 · 1 comment

Comments

@aljaznuncic
Copy link

It would be very welcome if error codes and error messages were accessible as variables (eg: {{ error_code }}, {{ error_message }}, maybe also some other information about the error/server, if it would be interesting to display) and thus it was possible to make only 1 customized template for all errors (not an error page for each error code).

@aljaznuncic aljaznuncic changed the title Add error code and error message as variables Add error code and error message as variables at error page Jul 2, 2024
@ac000
Copy link
Member

ac000 commented Jul 2, 2024

Is this for nginx (the webserver) or NGINX Unit?

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

No branches or pull requests

2 participants