yeonghoon.kim

  • 게시판
  • 갤러리
  • aws

nginx 413 Request Entity Too Large 에러 해결

김영훈 2020.09.15 18:25 조회 수 : 509

"2020/09/15 18:07:24 [error] 1082867#0: *12513 client intended to send too large body: 2022206 bytes, client: 112.133.63.117, server: yeonghoon.kim, request: "POST /imageUpload?CKEditor=contentDetail&CKEditorFuncNum=0&langCode=ko HTTP/1.1", host: "yeonghoon.kim", referrer: "https://yeonghoon.kim/galleryAdd"

업로드 용량 제한에 걸리지도 않았는데, 파일을 업로드 했을 때 에러 뜸.
(로컬에서만 테스트해서 몰랐는데, 실제 서버에서 해당 에러 발생)

nginx 공식 문서에서 말하길...
용량을 조절하거나, 0을 줘서 비활성화 하라고 함
 

Defines a timeout for reading client request header. If a client does not transmit the entire header within this time, the request is terminated with the 408 (Request Time-out) error.

Syntax: client_max_body_size size;
Default:

client_max_body_size 1m;

Context: http, server, location

Sets the maximum allowed size of the client request body, specified in the “Content-Length” request header field. If the size in a request exceeds the configured value, the 413 (Request Entity Too Large) error is returned to the client. Please be aware that browsers cannot correctly display this error. Setting size to 0 disables checking of client request body size.

"

  • 추천 0

  • 비추천 0
이 게시물을
목록

댓글 0

번호 제목 글쓴이 날짜 조회 수
공지 2025 일본 여행 계획 김영훈 2024.10.10 1931
공지 현금, 저축, 투자, 지출, 예산, 보험 내역(2024-05-30) 김영훈 2024.03.10 1577
167 이클립스 최신버전[Eclipse 4.17 (2020-09)] 자바 8 지원X 김영훈 2020.10.28 329
166 네이버 서치어드바이저(네이버 웹마스터 도구) 등록 김영훈 2020.10.25 360
165 자바스크립트 title태그 내 제목 바꾸기 김영훈 2020.10.24 248
164 tomcat 자체 ssl 적용 김영훈 2020.10.23 339
163 [왕초보자용] 오라클 클라우드 was 배포 환경 구축(java1.8, tomcat 8.5, oracle 11g xe) 김영훈 2020.10.21 342
162 Google Analytics 등록 김영훈 2020.10.19 421
161 Google SearchConsole 등록 김영훈 2020.10.19 256
160 오라클 클라우드 인스턴스 생성 김영훈 2020.10.18 359
159 iwinv Object Storage 버킷 정책 설정(referer) 김영훈 2020.10.15 367
158 iwinv S3browser 계정 설정 김영훈 2020.10.15 320
157 객체 지향 프로그래밍 및 설계의 다섯가지 기본 원칙(SOLID) 김영훈 2020.10.01 345
156 스프링 DI 방법, DI 김영훈 2020.09.30 343
155 인텔리제이 프로젝트 자바 버전 맞추기 김영훈 2020.09.28 294
154 스프링부트 구조 김영훈 2020.09.28 296
153 스프링부트 Gradle Project 기본 설정 김영훈 2020.09.27 333
152 심야시간대 서울고속버스터미널 탈출 방법 김영훈 2020.09.27 350
151 이클립스 깃 연동 김영훈 2020.09.24 337
» nginx 413 Request Entity Too Large 에러 해결 김영훈 2020.09.15 509
149 집 와이파이 정보 김영훈 2020.09.14 284
148 페이징 mysql용(limit 이용) 김영훈 2020.09.12 454
쓰기 태그
 첫 페이지 1 2 3 4 5 6 7 8 9 10 끝 페이지