기타2011. 5. 6. 13:40
nginx 서버를 운용하다 업로드용량이 설정값보다 초과되는 경우 nginx.conf 파일에서 client_max_body_size 값을 늘려주시면 됩니다.

http {
    include       mime.types;
    default_type  application/octet-stream;
    sendfile        on;
    keepalive_timeout  65;

    server {
        client_max_body_size 20M;
        listen       80;
        server_name  localhost;

        # Main location
        location / {
            proxy_pass         http://127.0.0.1:8000/;
        }
    }
}

디폴트값은 1MB 라는군요. 
Posted by hasung