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에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 4736 | jQuery | 8년 전 | 1562 | ||
| 4735 | jQuery | 8년 전 | 1753 | ||
| 4734 | jQuery | 8년 전 | 1741 | ||
| 4733 | jQuery | 8년 전 | 2036 | ||
| 4732 | jQuery | 8년 전 | 1959 | ||
| 4731 | jQuery | 8년 전 | 1461 | ||
| 4730 | jQuery | 8년 전 | 1919 | ||
| 4729 | PHP |
|
8년 전 | 6906 | |
| 4728 | jQuery | 8년 전 | 2563 | ||
| 4727 | jQuery | 8년 전 | 1612 | ||
| 4726 | jQuery | 8년 전 | 1692 | ||
| 4725 | jQuery | 8년 전 | 1835 | ||
| 4724 | jQuery | 8년 전 | 1313 | ||
| 4723 | jQuery | 8년 전 | 1865 | ||
| 4722 | jQuery | 8년 전 | 1630 | ||
| 4721 | jQuery | 8년 전 | 1919 | ||
| 4720 | jQuery | 8년 전 | 1981 | ||
| 4719 | jQuery | 8년 전 | 1604 | ||
| 4718 | jQuery | 8년 전 | 1609 | ||
| 4717 | jQuery | 8년 전 | 1561 | ||
| 4716 | jQuery | 8년 전 | 1240 | ||
| 4715 | jQuery | 8년 전 | 1397 | ||
| 4714 | jQuery | 8년 전 | 1419 | ||
| 4713 | jQuery | 8년 전 | 1339 | ||
| 4712 | jQuery | 8년 전 | 2230 | ||
| 4711 | jQuery | 8년 전 | 1717 | ||
| 4710 | PHP |
|
8년 전 | 3748 | |
| 4709 | jQuery | 8년 전 | 1630 | ||
| 4708 | jQuery | 8년 전 | 1912 | ||
| 4707 | jQuery | 8년 전 | 1768 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기