resolve random permissions problems occuring with nginx, leading to fatal erorrs

This commit is contained in:
Wonderfall 2016-05-01 18:53:26 +02:00
parent 7f464329c3
commit 873ce86f41
2 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,10 @@ http {
access_log off; access_log off;
error_log /var/log/nginx/error.log error; error_log /var/log/nginx/error.log error;
client_body_temp_path /tmp 1 2;
client_body_buffer_size 256k;
client_body_in_file_only off;
sendfile on; sendfile on;
keepalive_timeout 15; keepalive_timeout 15;
keepalive_disable msie6; keepalive_disable msie6;

View File

@ -15,6 +15,8 @@ http {
access_log /var/log/nginx/access.log combined; access_log /var/log/nginx/access.log combined;
error_log /var/log/nginx/error.log error; error_log /var/log/nginx/error.log error;
client_body_temp_path /tmp 1 2;
sendfile on; sendfile on;
keepalive_timeout 15; keepalive_timeout 15;
keepalive_disable msie6; keepalive_disable msie6;