nginx.conf 에서 파일 업로드 용량 설정
http {
...
client_max_body_size 20m;
...
이외에
php.ini 설정도 확인해 보시기 바랍니다.
upload_max_filesize = 20M
post_max_size = 20M
// nginx, php-fpm 재실행
# systemctl restart nginx.service
# systemctl restart php-fpm.service
댓글 2개
terrorboy
8년 전
감사합니다 ㅎㅎ
gilynh
8년 전
덧붙여서 용량하고는 관계 없지만 업로드에 걸리는 시간 때문에 뻗는 경우가 있을 때는
php의 max_execution_time
nginx의 client_header_timeout, client_body_timeout, send_timeout, keepalive_timeout, proxy_connect_timeout, proxy_send_timeout, proxy_read_timeout 설정을 올려주면서 태스트 해보심 좋습니다.
php의 max_execution_time
nginx의 client_header_timeout, client_body_timeout, send_timeout, keepalive_timeout, proxy_connect_timeout, proxy_send_timeout, proxy_read_timeout 설정을 올려주면서 태스트 해보심 좋습니다.
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 4766 | jQuery | 8년 전 | 1680 | ||
| 4765 | jQuery | 8년 전 | 1353 | ||
| 4764 | jQuery | 8년 전 | 2168 | ||
| 4763 | jQuery | 8년 전 | 1856 | ||
| 4762 | jQuery | 8년 전 | 1634 | ||
| 4761 | jQuery | 8년 전 | 1936 | ||
| 4760 | jQuery | 8년 전 | 1301 | ||
| 4759 | jQuery | 8년 전 | 1599 | ||
| 4758 | jQuery | 8년 전 | 1315 | ||
| 4757 | jQuery | 8년 전 | 1280 | ||
| 4756 | jQuery | 8년 전 | 1498 | ||
| 4755 | jQuery | 8년 전 | 1651 | ||
| 4754 | jQuery | 8년 전 | 1616 | ||
| 4753 | jQuery | 8년 전 | 1773 | ||
| 4752 | jQuery | 8년 전 | 1522 | ||
| 4751 | jQuery | 8년 전 | 1842 | ||
| 4750 | jQuery | 8년 전 | 1982 | ||
| 4749 | jQuery | 8년 전 | 1442 | ||
| 4748 | PHP | 8년 전 | 2811 | ||
| 4747 | jQuery | 8년 전 | 1394 | ||
| 4746 | jQuery | 8년 전 | 1650 | ||
| 4745 | jQuery | 8년 전 | 1658 | ||
| 4744 | jQuery | 8년 전 | 1537 | ||
| 4743 | jQuery | 8년 전 | 1614 | ||
| 4742 | jQuery | 8년 전 | 1708 | ||
| 4741 | jQuery | 8년 전 | 1600 | ||
| 4740 | jQuery | 8년 전 | 1610 | ||
| 4739 | jQuery | 8년 전 | 1798 | ||
| 4738 | jQuery | 8년 전 | 1316 | ||
| 4737 | jQuery | 8년 전 | 2102 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기