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에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 4616 | PHP | 8년 전 | 2516 | ||
| 4615 | PHP | 8년 전 | 1709 | ||
| 4614 | jQuery |
|
8년 전 | 2748 | |
| 4613 | MySQL |
|
8년 전 | 3681 | |
| 4612 | jQuery | 8년 전 | 2671 | ||
| 4611 | JavaScript | 8년 전 | 2327 | ||
| 4610 | PHP | 8년 전 | 1998 | ||
| 4609 | PHP | 8년 전 | 1725 | ||
| 4608 | PHP | 8년 전 | 2235 | ||
| 4607 | PHP | 8년 전 | 2849 | ||
| 4606 | PHP | 8년 전 | 2202 | ||
| 4605 | PHP | 8년 전 | 2112 | ||
| 4604 | node.js |
대동소프트
|
8년 전 | 1694 | |
| 4603 | node.js |
대동소프트
|
8년 전 | 2138 | |
| 4602 | node.js |
대동소프트
|
8년 전 | 1849 | |
| 4601 | PHP | 8년 전 | 2357 | ||
| 4600 | PHP | 8년 전 | 2498 | ||
| 4599 | PHP | 8년 전 | 2335 | ||
| 4598 | PHP | 8년 전 | 2362 | ||
| 4597 | PHP | 8년 전 | 2550 | ||
| 4596 | PHP | 8년 전 | 1915 | ||
| 4595 | PHP | 8년 전 | 2401 | ||
| 4594 | PHP | 8년 전 | 2163 | ||
| 4593 | PHP | 8년 전 | 2227 | ||
| 4592 | PHP | 8년 전 | 2280 | ||
| 4591 | PHP | 8년 전 | 2618 | ||
| 4590 | PHP | 8년 전 | 2219 | ||
| 4589 | node.js |
|
8년 전 | 2011 | |
| 4588 | jQuery |
프로그래머7
|
8년 전 | 1682 | |
| 4587 | jQuery |
프로그래머7
|
8년 전 | 1752 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기