Modify the NGINX file upload limit
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 /opt/bitnami/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, /opt/bitnami/apps/mattermost/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 /opt/bitnami/ctlscript.sh restart nginx