small vhost adjustments
This commit is contained in:
parent
58af39e619
commit
61f83d4bae
@ -9,12 +9,6 @@ server {
|
|||||||
try_files $uri $uri/ /index.php$is_args$args;
|
try_files $uri $uri/ /index.php$is_args$args;
|
||||||
}
|
}
|
||||||
|
|
||||||
error_page 404 = @notfound;
|
|
||||||
|
|
||||||
location @notfound {
|
|
||||||
return 301 /;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ /(cli|data) {
|
location ~ /(cli|data) {
|
||||||
return 404;
|
return 404;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user