move error pages, fixes #557
This commit is contained in:
parent
4790dd293d
commit
75b95b5549
3 changed files with 3 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue