[fix] Correct regex for hidden files in nginx.conf

This commit is contained in:
Jérôme Lebleu 2016-05-14 20:47:45 +02:00
parent a63e229fe0
commit b6886dcbec

View file

@ -26,6 +26,6 @@ location {LOCATION} {
}
# Deny access to hidden files and directories
location ~ ^{PATH}/. {
location ~ ^{PATH}/\. {
deny all;
}