Upload a big file through a proxied app and you may get a bare 413. That is Nginx saying the request body is too big, and its default limit is only 1 MB.
NPM lets you add your own snippets without touching generated files. Files in /data/nginx/custom/ are included at fixed places, and server_proxy.conf lands at the end of every proxy server block. Create it in the folder you mount as /data:
# ./data/nginx/custom/server_proxy.conf
client_max_body_size 10g;
Then reload by restarting the container. The Nginx docs say the directive works in http, server and location, and that a value of 0 switches the check off completely. I would rather pick a real number than use 0.
The caveat: this applies to every proxy host at once. A limit that is generous for your photo app is also generous for the app you never wanted to take 10 GB uploads. Also keep in mind that browsers cannot display the 413 properly, so the symptom often looks like a failed upload with no error page.
If you only want the limit raised for one app, that is a job for the advanced config of that single proxy host instead. The shared file is the lazy route, and it is fine for a private setup where every app is yours.
Further reading: Nginx Proxy Manager: Advanced Configuration, nginx.org: client_max_body_size, On this site: rate limit your proxy hosts with http_top.conf and server_proxy.conf, On this site: pin the Nginx Proxy Manager image version, upgrade on purpose
Going deeper: Guide: fix a 502 Bad Gateway in Nginx Proxy Manager, with a checklist that finds the cause