One has to edit
/etc/nginx/nginx.conf and add in
client_max_body_size 15900M ;
; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize = 15900M ; Maximum amount of memory a script may consume (128MB) ; http://php.net/memory-limit memory_limit = 6900M ; Maximum size of POST data that PHP will accept. ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; http://php.net/post-max-size post_max_size = 25900M
/etc/php/php.ini I had to stop
systemctl stop nginx systemctl stop php-fpm
so the changes take effect.
After starting the two services then check with