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

error_page configuration #40

Closed
lboynton opened this issue Mar 7, 2013 · 2 comments
Closed

error_page configuration #40

lboynton opened this issue Mar 7, 2013 · 2 comments

Comments

@lboynton
Copy link
Contributor

lboynton commented Mar 7, 2013

It would be nice if you could configure the error_page directive. Any takers? :)

@hallemel
Copy link

Hi,
we test today to add the error_page part to the vhost config with the following lines.
It looks good for us.

nginx::resource::vhost { 'hostname':
...
...
...
vhost_cfg_append => {
'error_page 403' => '/maintenance/403.html',
'error_page 404' => '/maintenance/404.html',
'error_page 500' => '/maintenance/500.html',
'error_page 503' => '/maintenance/503.html',
},

@lboynton
Copy link
Contributor Author

Yes I agree that works, possibly that has been added since the issue was opened? Closing anyway.

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