프로그램 사용/nginx
nginx 리버스 프록시 와 ckeidtor upload 413 에러
구차니
2019. 4. 3. 14:15
ckeditor에 파일을 올리는데 localhost에서는 잘만 올라가는 놈인데
회사 서버에만 하면 안되서 리눅스 버전이 문제인가 고민을 했지만..
/uploader:1 Failed to load resource: the server responded with a status of 413 (Request Entity Too Large) |
일단은 node.js 쪽 설정은 기본으로도 충분히 잘 올라가는 상황이라 아래 내용은 별 의미없어 보이고
혹시나 리눅스용은 먼가 다른가 해서 했지만 안올라가는건 여전한 상황 -_-
[링크 : https://stackoverflow.com/questions/19917401/error-request-entity-too-large]
[링크 : http://meonggae.blogspot.com/2016/11/http-response-code-413.html]
검색을 하다보니 갑자기 반짝하는 키워드.. 아...
nginx에서 reverse proxy로 쓰고 있었는데 nginx에서도 body 크기가 제한되는데 이걸 풀어줘야 정상작동 한다.
http { } |