uploadmaxfilesize and postmaxsize cant be setted via ini_set
Because NGINX use PHP via PHP-FPM instead php5_module of Apache, you can't set any php directives in server.
You can use ini_set function in your application
Yes. I agree. Taking off my hat :)
But settings in php-fpm conf is general set.
I use chunked upload.
In my PHP I have 20M limit, but with chunked upload I have no limit for upload file size.
The logic is simple.
You split file to chunkes of 10 or more Mb (as need) and on server just merge chunks and restore file.
Advantage - high speed of upload