mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Reverting blocking in nginx everything that begins with dot
This commit is contained in:
parent
ebb6b54065
commit
355ae01222
120 changed files with 218 additions and 120 deletions
|
@ -22,7 +22,8 @@ server {
|
|||
proxy_pass http://%ip%:%web_port%;
|
||||
}
|
||||
|
||||
location ~ /\. {return 404;}
|
||||
location ~ /\.ht {return 404;}
|
||||
location ~ /\.env {return 404;}
|
||||
location ~ /\.svn/ {return 404;}
|
||||
location ~ /\.git/ {return 404;}
|
||||
location ~ /\.hg/ {return 404;}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue