gpt4 book ai didi

php - Nginx:413 请求实体太大

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:47:51 26 4
gpt4 key购买 nike

我上传了一个视频文件(持续时间:25',大小:243.3MB)

我在 /etc/nginx/nginx.conf 中这样编辑:

client_max_body_size 480000M;

而且,我还在 /etc/php5/fpm/php.ini 中进行了这样的编辑:

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

但我总是收到错误:413 Request Entity Too Large

请帮帮我。非常感谢!!!

最佳答案

事实上,413 错误可能是由 client_max_body_size 的值过小引起的。我可以确定你重新启动|重新加载你的 nginx 吗?

关于php - Nginx:413 请求实体太大,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34971014/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com