move error pages out of webroot
This commit is contained in:
@@ -5,5 +5,5 @@ error_page 404 /errorpages/404.html;
|
||||
error_page 500 502 503 504 /errorpages/50x.html;
|
||||
|
||||
location ^~ /errorpages {
|
||||
root /usr/share/nginx/html;
|
||||
root /usr/share/nginx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user