Shell/Bash: how to increase nginx maximum file upload size Example

By

Shell/Bash Example: This is the "how to increase nginx maximum file upload size" Example. compiled from many sources on the internet by SimpleTutorials.org

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



* Summary: This "how to increase nginx maximum file upload size" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others