mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
[fix] Correct regex for hidden files in nginx.conf
This commit is contained in:
parent
a63e229fe0
commit
b6886dcbec
1 changed files with 1 additions and 1 deletions
|
@ -26,6 +26,6 @@ location {LOCATION} {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Deny access to hidden files and directories
|
# Deny access to hidden files and directories
|
||||||
location ~ ^{PATH}/. {
|
location ~ ^{PATH}/\. {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue