mirror of
https://github.com/optim-enterprises-bv/control-pane.git
synced 2025-11-02 19:07:59 +00:00
set unlimited NGINX client_max_body_size
increasing the limits for upload images. Issue #9
This commit is contained in:
@@ -3,6 +3,7 @@ server {
|
|||||||
|
|
||||||
root /usr/local/www/clonos/public;
|
root /usr/local/www/clonos/public;
|
||||||
set $php_root $document_root;
|
set $php_root $document_root;
|
||||||
|
client_max_body_size 0;
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
@@ -19,6 +20,7 @@ server {
|
|||||||
include /usr/local/etc/nginx/fastcgi_params;
|
include /usr/local/etc/nginx/fastcgi_params;
|
||||||
|
|
||||||
allow all;
|
allow all;
|
||||||
|
fastcgi_keep_conn on;
|
||||||
fastcgi_param SCRIPT_FILENAME $php_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $php_root$fastcgi_script_name;
|
||||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||||
fastcgi_param WORKDIR /usr/jails;
|
fastcgi_param WORKDIR /usr/jails;
|
||||||
|
|||||||
Reference in New Issue
Block a user