I got Nginx error 403: Request entity too large. How do I fix this problem and allow file upload upto 2MB in size?
# vi /usr/local/nginx/conf/nginx.conf
Add client_max_body_size in http section
http { .... client_max_body_size 2M; .... }
Save and close the file. Reload the nginx
# /usr/local/nginx/sbin/nginx -s reload