Merge branch 'core_fixes' into 'dev'

update nginx and lighttpd sample server configs to explicit dissalow access to util

See merge request hubzilla/core!1493
This commit is contained in:
M. Dent 2019-01-28 05:41:26 +01:00
commit e3d39fbf3f
2 changed files with 6 additions and 1 deletions

View File

@ -79,7 +79,7 @@ $HTTP["url"] =~ "\.(out|log|htaccess)$" {
url.access-deny = ("")
}
$HTTP["url"] =~ "(^|/)\.git|(^|/)store" {
$HTTP["url"] =~ "(^|/)\.git|(^|/)store|(^|/)util" {
url.access-deny = ("")
}

View File

@ -141,5 +141,10 @@ server {
deny all;
}
#deny access to util
location ~ /util {
deny all;
}
}