diff --git a/nginad/nginx.conf b/nginad/nginx.conf index 0d05ddd..0d65e87 100644 --- a/nginad/nginx.conf +++ b/nginad/nginx.conf @@ -14,6 +14,10 @@ http { server { listen 80; server_name _; + + client_max_body_size 4M; + client_body_buffer_size 128k; + root /var/www/html/upload/public; try_files $uri @php_index; diff --git a/revive/nginx.conf b/revive/nginx.conf index ca7ba23..36b7c8f 100644 --- a/revive/nginx.conf +++ b/revive/nginx.conf @@ -14,6 +14,10 @@ http { server { listen 80; server_name _; + + client_max_body_size 4M; + client_body_buffer_size 128k; + root /var/www/html; index index.php;