2012

Nginx 1.x 413 request entity too large

운좋은하루 2012. 2. 5. 00:23
728x90
반응형

nginx.conf 설정에서 client_max_body_size xxM 을 추가/수정 해준다.
http://wiki.nginx.org/HttpCoreModule#client_max_body_size 

client_max_body_size

syntax: client_max_body_size size

default: client_max_body_size 1m

context: http, server, location

Specifies the maximum accepted body size of a client request, as indicated by the request header Content-Length.

If the stated content length is greater than this size, then the client receives the HTTP error code 413 ("Request Entity Too Large"). It should be noted that web browsers do not usually know how to properly display such an HTTP error.
 
 
728x90
반응형

'2012' 카테고리의 다른 글

Apache Performance Tuning  (0) 2012.07.20
-bash: /dev/null: Permission denied  (0) 2012.05.02
Microsoft Office Outlook을 시작할 수 없습니다.  (0) 2012.04.17
VSFTPD 550 Failed to change directory  (0) 2012.04.17
Server SSL 설정 방법  (0) 2012.01.18