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
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