Problem

    1. Upload big size files using WordPress upload media
    2. You can upload it but in the end, there will be HTTP error
    3. In your Error Log, you will see something like
      07 [error] 27585#27585: *1145328 client intended to send too large body: 383859820 bytes
    4. You’ve increased in your memory_limit, post_max_size,  upload_max_filesize in your apache configuration at /home/user/conf/web/yourdomain.com/apache.conf

Solution

  1.  Go to your nginx configuration. Probably at /home/user/conf/web/yourdomain.com/nginx.conf
  2. The trick is to put “client_max_body_size 200M;” in at least two places http {} and server {}: You may change the size according to your need.
  3. Restart nginx by using command service nginx restart
  4. Done
%d bloggers like this: