Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #increase #nginx #maximum #file #upload #size
ADD COMMENT
Topic
Name
4+5 =