Browse Source

Update nginx sample config with location deny for bin/ folder

tags/2020.09
Hypolite Petovan 1 month ago
parent
commit
ae045eff41
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      mods/sample-nginx.config

+ 5
- 0
mods/sample-nginx.config View File

@@ -141,4 +141,9 @@ server {
location ~ /\. {
deny all;
}

# deny access to the CLI scripts
location ^~ /bin {
deny all;
}
}

Loading…
Cancel
Save