Answers for "nginx max file upload size"

2

how to increase nginx maximum file upload size

sudo nano /etc/nginx/nginx.conf
# edit/add the following line 
client_max_body_size 8M; # put the size that is enough
sudo nano /etc/php/php.ini
# edit the following
upload_max_filesize=8M # also put what is enough
Posted by: Guest on January-14-2021
2

nginx post size

client_max_body_size 100M;
Posted by: Guest on October-16-2020
1

nginx max file upload size

#just need to set these params in php-from file: /etc/php/7.2/fpm/php.ini
upload_max_filesize = 100M
post_max_size = 100M

#may need to increase this param in /etc/nginx/nginx.conf if its exists as is limited
client_max_body_size 100m;
Posted by: Guest on February-05-2021

Code answers related to "nginx max file upload size"

Browse Popular Code Answers by Language