mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
Blocking in nginx .env
This commit is contained in:
parent
355ae01222
commit
3cf64450a2
137 changed files with 252 additions and 137 deletions
|
@ -33,7 +33,8 @@ server {
|
|||
proxy_pass https://%ip%:%web_ssl_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