mirror of
https://github.com/optim-enterprises-bv/control-pane.git
synced 2025-10-31 18:07:46 +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;
|
||||
set $php_root $document_root;
|
||||
client_max_body_size 0;
|
||||
|
||||
index index.php;
|
||||
|
||||
@@ -19,6 +20,7 @@ server {
|
||||
include /usr/local/etc/nginx/fastcgi_params;
|
||||
|
||||
allow all;
|
||||
fastcgi_keep_conn on;
|
||||
fastcgi_param SCRIPT_FILENAME $php_root$fastcgi_script_name;
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
fastcgi_param WORKDIR /usr/jails;
|
||||
|
||||
Reference in New Issue
Block a user