반응형
목차
에러내용
nginx 업로드 파일 용량 초과 오류 해결 - HTTP 413 client intended to send too large body
client_max_body_size 는 http, server, location 에 설정 가능합니다.
www.lesstif.com
수정 방법
nginx.conf 파일에
http { } 안에 client_max_body_size 100M; 이런식으로 입력하면됩니다.
(http, server, location에 설정할 수 있는데 가장 넓게 적용할 수 있는 http 에 적용했습니다.)
http {
# file size limit
client_max_body_size 50M;
}
기본값
https://stackoverflow.com/questions/28476643/default-nginx-client-max-body-size
Default nginx client_max_body_size
I have been getting the nginx error: 413 Request Entity Too Large I have been able to update my client_max_body_size in the server section of my nginx.conf file to 20M and this has fixed the issue.
stackoverflow.com
끝
반응형
'WEB,WAS > Nginx' 카테고리의 다른 글
nginx ssl 갱신 설정 (0) | 2023.05.31 |
---|---|
nginx forbidden 403 error 에러 (0) | 2023.02.16 |
nginx 압축전송 (0) | 2023.01.30 |
[Nginx]upstream timed out, no live upstreams (0) | 2023.01.12 |
Nginx 에서 환경변수를 지원할까요? (0) | 2022.12.19 |
댓글