icarus-gg / linux-LEMP-ubuntu-22

quick setup for a linux vm running php 7.4, nginx, mysql and wordpress
MIT License
1 stars 0 forks source link

Adjust filesize for nginx #1

Open MariusWorks opened 2 months ago

MariusWorks commented 2 months ago

Modify the nginx.conf to have more upload size:

The above troubleshooting method is for the Apache web server, but if you are running your website on LEMP (NGINX as a web server and PHP), you need to edit nginx.conf i.e., located in /etc/nginx/, and add the following line of code to the file.

http { client_max_body_size 100M; }