Request Entity Too Large Upload Plugin Self-Hosted Version

I would like to upload a plugin into the seatable self-hosted version.

How I did that:

  1. Download a plugin from as zip file. (Gallery).
  2. open /sys/plugins/
  3. Click upload plugin.
  4. Choose the downloaded zip files.
  5. Got this error message in the browser console:
    commons.chunk.952e748cc9bc.js:1 POST https://<hostname>/api/v2.1/admin/dtable-system-plugins/ 413 (Request Entity Too Large)

How do I fix that?

The problem is in the nginx configuration.

Need to add this:

# set the maximum size. example here: 100MB    
server {
       client_max_body_size 100M;