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

Feature request: Ability to configure path to error renderer template #2515

Closed
westonganger opened this issue Dec 6, 2023 · 1 comment
Closed

Comments

@westonganger
Copy link

westonganger commented Dec 6, 2023

Feature request

Related to this stackoverflow post

https://stackoverflow.com/questions/47795899/phusion-passenger-customizing-internal-passenger-error-while-still-passing-thr/77615577

Problem Statement

I cant find a way to keep my custom Rails error page bodies under normal operation, but still customize the internal Passenger fatal error screen.

Solution

I want to easily change the contents of the following file

 $(passenger-config about resourcesdir)/templates/error_renderer/without_details/src/index.html.template

Proposed Solution

It would be nice if there was a configuration option something like error_renderer_template which would allow us to configure a custom error page.

@CamJN
Copy link
Member

CamJN commented Aug 9, 2024

I've added a custom error page config option in 6.0.23, it isn't a template just a static file. Because we aren't willing to commit to keeping the template implementation stable.

@CamJN CamJN closed this as completed Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants