Nginx Proxy Manager file upload limit

Hi all.

I have tried many suggestions. I have set my custom proxy host config to:

# allow large file uploads

client_max_body_size 50000;

proxy_max_temp_file_size 0;

proxy_buffering off;

but I am still unable to upload anything much over 1GB.

I have proxy turned off in cloudflair.

I am running nginxproxymanager in docker.

Any help is extremely appreciated.