Commit 3c4564f2 authored by Felix Bartels's avatar Felix Bartels

ZP-1161 update to solve comments from sk. Released under the Affero GNU...

ZP-1161 update to solve comments from sk. Released under the Affero GNU General Public License (AGPL) version 3.
parent a40d5e59
...@@ -12,7 +12,7 @@ server { ...@@ -12,7 +12,7 @@ server {
  access_log /var/log/nginx/zpush-access.log;   access_log /var/log/nginx/zpush-access.log;
error_log /var/log/nginx/zpush-error.log; error_log /var/log/nginx/zpush-error.log;
# Attachments 20MB max # Attachments ca 15MB max (since binary data needs to be base64 encoded in mine, which results in in about 33% overhead)
client_max_body_size 20m; client_max_body_size 20m;
client_body_buffer_size 128k; client_body_buffer_size 128k;
...@@ -44,8 +44,8 @@ server { ...@@ -44,8 +44,8 @@ server {
#depending on your php-fpm config #depending on your php-fpm config
fastcgi_pass unix:/run/php-fpm/php-fpm.sock; fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
# PHP max_execution_time is set to 730 # PHP max_execution_time is set to 3600 (max heartbeat interval defined in the AS spec is 59 minutes)
        fastcgi_read_timeout 730;         fastcgi_read_timeout 3600;
        proxy_read_timeout 700;         proxy_read_timeout 3540;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment