安装好wordpress后,上传主题,提示 413 Request Entity Too Large
使用的系统为centos7,使用的环境为LNMP
在nginx配置文件中修改: 在http{} 中增加 client_max_body_size 10m;
[root@itlaoxin-17 jf]# nginx -s reload
重新执行即可:
完美解决
水利万物而不争,
而万物莫能与之争。