Client Max Body Size 100m

Adding the configuration to nginx config file.
Client max body size 100m. Restart nginx to apply the changes. Next open the config file for your website. Systemctl restart nginx systemd service nginx restart sysvinit. The same thing can be done for the server tokens off.
For very large files you may need to change value of client body timeout parameter. So mv jul 1 14 at 19 34 13 hengjie i would recommend using nginx t tests the configuration file syntax and then nginx s reload does the actual reload instead. Sudo service nginx restart modify php ini file for upload limits. Lowercase m worked for us.
Obviously the omv built in settings boxes for nginx need to be set sensibly as well posted 12th june 2016 by undef. If you find it just increase its size to 100m for example. If it doesn t exist then you can add it inside and at the end of http. In terms of setting client max body size that can be done currently on a proxy wide basis by creating a file under etc nginx conf d that includes client max body size 100m.
If you are running wordpress multisite setup then you may need to make one more change at the wordpress end. Save and close the file. Reload php fpm nginx service php5 fpm reload service nginx reload changes in wordpress multisite. Search for this variable.
Save the file and restart nginx web server to apply the recent changes using following command. The default value for client max body size directive is 1 mib. Client max body size if you find it just increase its size to 100m if it doesn t exist then you can add below code inside and at the end of http. Search for this variable.