adding signature check for PrivateBin archive, securing installation by splitting web root from libraries and data
This commit is contained in:
@@ -48,7 +48,7 @@ http {
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
root /privatebin;
|
||||
root /var/www;
|
||||
index index.php index.html;
|
||||
|
||||
location ~* \.(jpg|jpeg|gif|css|png|js|map|woff|woff2|ttf|svg|eot)$ {
|
||||
|
||||
@@ -11,4 +11,4 @@ pm.max_children = 5
|
||||
pm.start_servers = 2
|
||||
pm.min_spare_servers = 1
|
||||
pm.max_spare_servers = 3
|
||||
chdir = /
|
||||
chdir = /var/www
|
||||
|
||||
Reference in New Issue
Block a user