Block access to file #.*#

Used to contain sensitive data
This commit is contained in:
Léo Colombaro 2019-02-10 20:36:26 +01:00
parent 1f5d6359be
commit e21aec5822
No known key found for this signature in database
GPG Key ID: 687B480A6D4F735F
1 changed files with 1 additions and 1 deletions

View File

@ -37,6 +37,6 @@ location ~* /\.(?!well-known\/) {
# include: configuration files, files that contain metadata about the
# project (e.g.: project dependencies), build scripts, etc..
location ~* (?:\.(?:bak|conf|dist|fla|in[ci]|log|orig|psd|sh|sql|sw[op])|~)$ {
location ~* (?:#.*#|\.(?:bak|conf|dist|fla|in[ci]|log|orig|psd|sh|sql|sw[op])|~)$ {
deny all;
}