macsplex.com 로그인

검색

Debian
2018.09.02 07:24

Nginx사용시 업로드용량변경

조회 수 203 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
Extra Form
출처/참고/홈페이지 https://serverfault.com/questions/611239...-post-size

nginx에서 php를 사용시 업로드 용량을 8MB를 이상을 기본으로 금지하고 있습니다.


해당사항을 옵션을 조정해야 더 큰용량을 업로드를 할수가 있습니다.


해당사항은 데비안9 php7.0-fpm 설치기준입니다.


해당 옵션을 조정해주세요


1. /etc/nginx/nginx.conf

client_max_body_size 100M;


2./etc/php/7.0/fpm/php.ini


post_max_size = 100MB

upload_max_filesize = 100MB






--------------------------------------------------광고(Advertising)-------------------------------------------------------------------------------------


TAG •

리눅스 Tip

Linux Tip

  1. nginx semrush bot 차단

    Categorynginx
    Read More
  2. Ngnix 특정폴더 인증절차추가

    CategoryDebian
    Read More
  3. 워드프레스 고유주소 nginx 설정

    CategoryDebian
    Read More
  4. nginx "rewrite" directive is not allowed here in 에러발생시

    CategoryDebian
    Read More
  5. Nginx 이미지링크 방지

    CategoryDebian
    Read More
  6. Nginx사용시 업로드용량변경

    CategoryDebian
    Read More
Board Pagination Prev 1 Next
/ 1