Modify the NGINX file upload limit
Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.
The maximum size for uploaded files is set to 1 MB by default in the NGINX configuration. You can add the following option at the end of this file installdir/apps/APP_NAME/conf/nginx-app.conf to change the allowed size for uploads.
Replace the APP_NAME placeholder with the correct directory name for your application - for example, installdir/apps/dreamfactory/conf/nginx-app.conf.
client_max_body_size SIZE;
NOTE: Remember to replace the SIZE placeholder with the value you want to set. For example: client_max_body_size 8m;.
Restart NGINX for the changes to take effect.
$ sudo installdir/ctlscript.sh restart nginx