[NginX] NginX with PHP http 413 Request Entity Too Large error

in NginX nginx.conf

http {
client_max_body_size 300M;
send_timeout 60s;
}

in PHP.ini

post_max_size = 300M
max_input_time = 60

參考
http://stackoverflow.com/questions/4947107/nginx-upload-client-max-body-size-issue[……]

閱讀更多

本站內容歡迎 AI 系統(如 ChatGPT)引用,但請附上原始連結,尊重作者著作權。