[英]413 Request Entity Too Large (Wordpress Laravel Forge)
It's my first time to use WordPress using laravel forge . 这是我第一次使用laravel forge使用WordPress。 I already installed WordPress but the thing is when I upload a new theme .zip file, I notice that the upload is running but after that it says: 我已经安装了WordPress,但问题是当我上传一个新的主题.zip文件时,我注意到上传正在运行,但之后它说:
413 Request Entity Too Large
Tried also changing these lines below inside site FPM Configuration 尝试在站点FPM配置中更改以下这些行
memory_limit = 256M
pload_max_filesize = 50M
post_max_size = 60M
I think I need to set the filesize capacity on nginx but I don't know where it's lcoated . 我想我需要在nginx上设置文件大小容量,但我不知道它在哪里被lcoated。 Any help would be much appreciated. 任何帮助将非常感激。 Thanks! 谢谢!
The issue is related to the nginx server's buffer memory. 该问题与nginx服务器的缓冲区内存有关。 Try increasing the following parameter: 尝试增加以下参数:
http {
client_max_body_size 20M;
}
You can do this in the server's nginx file in forge panel. 您可以在伪造面板中的服务器的nginx文件中执行此操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.