• Support
  • nginx client_max_body_size not work when upload using curl

I try increased to 0 and 500GB or gb and other 99999999gb, but when uploading files using curl im still getting error 413 entity too large, it just 1gb files, i use reverse proxy and already put client_max_body_size in /www/server/panel/vhost/nginx/site_proxy.conf and /www/server/nginx/conf/proxy.conf and still same, also in /www/server/nginx/conf/nginx.conf too, can you verify this or have any fix?

    aaPanel_Kern Not using CF, and PHP, im using reverse proxy, have modified nginx management interface and set max body from 0 to 10GB, already restart many times, already dig into /www/server/nginx dir but still same. My server is loggedin as root an i noticed in htop the nginx webserver was running on www and not root, only nginx process is under root.

      Hello, it is recommended that you check the service where the reverse proxy is set up and whether the limit size is increased for both the target service and the service?
      nginx running user is correct

      aaP_madtown769