![](https://img-blog.csdnimg.cn/919144dfb9a24a37820cae0331130feb.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
Nginx
Nginx
拥有必珍惜
这个作者很懒,什么都没留下…
展开
-
nginx 出现413 Request Entity Too Large问题的解决方法
nginx 出现413 Request Entity Too Large问题的解决方法 使用php上传图片(大小1.9M),出现 nginx: 413 Request Entity Too Large 错误。 根据经验是服务器限制了上传文件的大小,但php默认的文件上传是2M,应该不会出现问题。 打开php.ini,把 upload_max_filesize 和原创 2017-09-12 16:00:32 · 542 阅读 · 0 评论 -
nginx配置文件nginx.conf超详细讲解
#nginx进程,一般设置为和cpu核数一样 worker_processes 4; #错误日志存放目录 error_log /data1/logs/error.log crit; #运行用户,默认即是nginx,可不设置 user nginx #进程pid存放位置 pid /application/nginx/nginx.pid; #Specifies the value fo...原创 2019-05-20 16:50:34 · 1144 阅读 · 0 评论