Update nginx sample config with location deny for bin/ folder
This commit is contained in:
parent
06632536f3
commit
ae045eff41
1 changed files with 5 additions and 0 deletions
|
@ -141,4 +141,9 @@ server {
|
||||||
location ~ /\. {
|
location ~ /\. {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# deny access to the CLI scripts
|
||||||
|
location ^~ /bin {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue