move error pages, fixes #557

This commit is contained in:
j 2012-02-20 08:55:45 +00:00
commit 75b95b5549
3 changed files with 3 additions and 4 deletions

View file

@ -52,12 +52,12 @@ server {
error_page 404 /404.html;
location /404.html {
root __PREFIX__/static;
root __PREFIX__/static/html;
}
# redirect server error pages to the static page /50x.html
error_page 500 502 503 504 /50x.html;
location /50x.html {
root __PREFIX__/static;
root __PREFIX__/static/html;
}
}