Monday, March 18, 2013

Nginx 413 Request Entity Too Large


I got Nginx error 403: Request entity too large. How do I fix this problem and allow file upload upto 2MB in size?


    # vi /usr/local/nginx/conf/nginx.conf
Add client_max_body_size in http section

    http {      ....      client_max_body_size 2M;      ....  }

Save and close the file. Reload the nginx
    # /usr/local/nginx/sbin/nginx -s reload

Proxmox installation display out of range

Reference:  https://forum.proxmox.com/threads/proxmox-ve-screen-out-of-range.131297/