
NGINX
文章平均质量分 84
code-is-poetry
这个作者很懒,什么都没留下…
展开
-
NGINX下PHP-FPM占用内存状态及进程数调整
网站出现500,查看SLOWLOG日志发现如下提示: WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 8 idle, and 58 total childre原创 2016-01-15 17:41:02 · 12475 阅读 · 0 评论 -
NGINX301 REWRITE官方博客文档
来源:https://www.nginx.com/blog/creating-nginx-rewrite-rules/Creating NGINX Rewrite RulesIn this blog post, we discuss how to create NGINX rewrite rules (the same methods work for both N转载 2016-02-09 12:23:17 · 1149 阅读 · 0 评论 -
Nginx增加PHP脚本的执行时间
原文:https://easyengine.io/tutorials/php/increase-script-execution-time/If you have a large WordPress setup or a server with limited resources, then you will often see the “504 Gateway Time-out” err转载 2016-02-04 13:09:51 · 6781 阅读 · 0 评论 -
PHP-FPM pm.max_children设置依据
Problem:The following warning message appears in the logs:[26-Jul-2012 09:49:59] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 3转载 2016-12-31 13:15:14 · 13245 阅读 · 0 评论 -
Nginx缓存的两种方式
这里 Cache 有两种情况说明,一种是浏览器访问Nginx,浏览器会Cache;一种是Nginx 访问后端,Nginx 自己Cache 。 第一种情况来个例子:$ curl -I http://www.12reads.cnHTTP/1.1 200 OKServer: JSP3/2.0.4Date: Fri, 31 Oct 2014 07:28:20 GMTCont原创 2017-11-23 11:33:03 · 13981 阅读 · 1 评论 -
Nginx浏览器缓存设置
Sometimes, improving the user’s loading experience is not enough, and you need real changes to make your application load faster.So you try CSS and JS minification or image compression but you转载 2017-11-23 13:38:40 · 1487 阅读 · 0 评论