Update nginx sample config with location deny for bin/ folder

This commit is contained in:
Hypolite Petovan 2020-09-07 05:51:58 -04:00
bovenliggende 06632536f3
commit ae045eff41
1 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen

Bestand weergeven

@ -141,4 +141,9 @@ server {
location ~ /\. {
deny all;
}
# deny access to the CLI scripts
location ^~ /bin {
deny all;
}
}