Merge pull request #6 from elrido/master
allow pastes larger then a few kB, addressing supervisord warning
This commit is contained in:
@@ -7,5 +7,5 @@ if [ ! -f /privatebin/cfg/conf.php ]; then
|
|||||||
cp /privatebin/conf.sample.php /privatebin/cfg/conf.php
|
cp /privatebin/conf.sample.php /privatebin/cfg/conf.php
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R privatebin:privatebin /privatebin/data
|
chown -R privatebin:privatebin /privatebin/data /var/tmp/nginx
|
||||||
supervisord -c /usr/local/etc/supervisord.conf
|
supervisord -c /usr/local/etc/supervisord.conf
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ http {
|
|||||||
tcp_nopush on;
|
tcp_nopush on;
|
||||||
tcp_nodelay off;
|
tcp_nodelay off;
|
||||||
server_tokens off;
|
server_tokens off;
|
||||||
|
client_max_body_size 10M;
|
||||||
|
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_comp_level 5;
|
gzip_comp_level 5;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
[supervisord]
|
[supervisord]
|
||||||
|
user=root
|
||||||
nodaemon=true
|
nodaemon=true
|
||||||
pidfile=/var/run/supervisord.pid
|
pidfile=/var/run/supervisord.pid
|
||||||
logfile=/var/log/supervisord.log
|
logfile=/var/log/supervisord.log
|
||||||
|
|||||||
Reference in New Issue
Block a user