简体   繁体   中英

Nginx: 413 Request Entity Too Large

I upload a video file (Duration: 25', Size: 243.3MB)

I edited in /etc/nginx/nginx.conf like that:

client_max_body_size 480000M;

And, I also edited in /etc/php5/fpm/php.ini like that:

max_input_time = 480000
max_execution_time = 480000
upload_max_filesize = 240000M
post_max_size = 480000M
memory_limit = 240000M

But I always get the error: 413 Request Entity Too Large

Please help me. Thank you very much !!!

As a fact 413 error could be caysed be small value of client_max_body_size. Could I sure that you restart|reload your nginx?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM