update nginx and lighttpd sample server configs to explicit dissalow access to util
This commit is contained in:
@@ -79,7 +79,7 @@ $HTTP["url"] =~ "\.(out|log|htaccess)$" {
|
||||
url.access-deny = ("")
|
||||
}
|
||||
|
||||
$HTTP["url"] =~ "(^|/)\.git|(^|/)store" {
|
||||
$HTTP["url"] =~ "(^|/)\.git|(^|/)store|(^|/)util" {
|
||||
url.access-deny = ("")
|
||||
}
|
||||
|
||||
|
@@ -141,5 +141,10 @@ server {
|
||||
deny all;
|
||||
}
|
||||
|
||||
#deny access to util
|
||||
location ~ /util {
|
||||
deny all;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user