I've got a form that includes the submission of many photos, anywhere from none to 16 images. The simplest solution would be to adjust the settings of the server (nginx) to allow greater max upload size. But I'm thinking this may not be the best solution for security reasons. The other solution would be to break up the request and send fetch request for each image in the form. I'll likely need to do both, the default value for client_max_body_size is 1m, which isn't likely to be enough even for one image.
Any ideas on how to deal with this?