How do I fix 413 payload too big?

Nginx: 413 – Request Entity Too Large Error and Solution

  1. Nginx configuration. To fix this issue edit your nginx.conf. …
  2. PHP configuration (optional) Your php installation also put limits on upload file size. …
  3. Look out for permission errors too. Apart from setting Nginx and PHP, you need to look out file permission errors.

For More Information Please Refer: https://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/