From 9e70dd33e1bd9e4bf1b34fc6e62e41044de03ade Mon Sep 17 00:00:00 2001 From: Gilvan Date: Sat, 27 Oct 2018 04:58:18 -0300 Subject: [PATCH 1/2] nginx tweak to handle file uploads - /var/tmp/nginx/client_body/0000000003..failed (13: Permission denied) --- nginx/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index a9ecf0e..9514032 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -24,6 +24,9 @@ http { include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; open_file_cache max=100; + client_body_temp_path /tmp 1 2; + client_body_buffer_size 256k; + client_body_in_file_only off; } daemon off; From e34c85b2dd05dc8fa69a11d82e95d0adb4c4d785 Mon Sep 17 00:00:00 2001 From: Gilvan Date: Sat, 27 Oct 2018 06:42:10 -0300 Subject: [PATCH 2/2] installed php7-fileinfo --- php-fpm/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index 10d0c55..f4ed60e 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -14,6 +14,7 @@ RUN apk add --update \ php7-json \ php7-intl \ php7-mcrypt \ + php7-fileinfo\ php7-mbstring \ php7-opcache \ php7-openssl \