Update nginx sample config with location deny for bin/ folder
This commit is contained in:
@@ -141,4 +141,9 @@ server {
|
|||||||
location ~ /\. {
|
location ~ /\. {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# deny access to the CLI scripts
|
||||||
|
location ^~ /bin {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user