https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0663253
)
Update nginx sample config with location deny for bin/ folder
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Mon, 7 Sep 2020 09:51:58 +0000
(
05:51
-0400)
committer
Hypolite Petovan
<hypolite@mrpetovan.com>
Mon, 7 Sep 2020 09:51:58 +0000
(
05:51
-0400)
mods/sample-nginx.config
patch
|
blob
|
history
diff --git
a/mods/sample-nginx.config
b/mods/sample-nginx.config
index
71d3785
..
b90e1fe
100644
(file)
--- a/
mods/sample-nginx.config
+++ b/
mods/sample-nginx.config
@@
-141,4
+141,9
@@
server {
location ~ /\. {
deny all;
}
+
+ # deny access to the CLI scripts
+ location ^~ /bin {
+ deny all;
+ }
}