Upload file in minio and got 413 error (Request Entity Too Large)

i use minio connect to your dns service. when, I open website with my IP. I can upload file size larger than 1 mb (for mine, it’s about 1.1 mb. But when I upload file under my domain name that is under the Cloudflare , it show error 413 file size too large.

image (when I try under domain) (not work)

I’m not sure if there is problem with Cloudflare or not. I try to find the problem on nginx on my server side but still cannot fix it. do you have any suggestion?

This image when I try with IP Adress and it’s work

Finally, I can fix it. It’s the problem on the nginx.

Please add

client_max_body_size 64M;

under the server tag to fix it

server {
client_max_body_size 20M;