Protect config files from public access

This commit is contained in:
ohartl 2016-03-01 14:38:12 +01:00
parent d3003715dc
commit 3be0a51c75
2 changed files with 9 additions and 0 deletions

View file

@ -52,6 +52,10 @@ server {
deny all;
return 403;
}
location ^~ /webmum/config {
deny all;
return 403;
}
}
```
@ -81,6 +85,10 @@ server {
deny all;
return 403;
}
location ^~ /config {
deny all;
return 403;
}
}
```

1
config/.htaccess Normal file
View file

@ -0,0 +1 @@
Deny from all