随笔分类 -  nginx

该文被密码保护。
posted @ 2015-05-27 10:30 Debm.Zhang 阅读(2) 评论(0) 推荐(0)
摘要:转自http://www.ha97.com/5194.html#定义Nginx运行的用户和用户组user www www;#nginx进程数,建议设置为等于CPU总核心数。worker_processes8;#全局错误日志定义类型,[ debug | info | notice | warn | e... 阅读全文
posted @ 2015-05-18 18:52 Debm.Zhang 阅读(322) 评论(0) 推荐(0)
摘要:本文转自http://www.jbxue.com/article/2187.html本文介绍nginx URL重写的相关知识,包括301重定向的内容等,希望对大家有所帮助。nginxrewrite 实现二级域名跳转当访问http://abc.test.com跳转到http://www.test.co... 阅读全文
posted @ 2015-04-27 09:57 Debm.Zhang 阅读(283) 评论(0) 推荐(0)
摘要:http://www.php100.com/html/program/nginx/2013/0905/5525.html负载均衡是我们大流量网站要做的一个东西,下面我来给大家介绍在Nginx服务器上进行负载均衡配置方法,希望对有需要的同学有所帮助哦。负载均衡先来简单了解一下什么是负载均衡,单从字面上... 阅读全文
posted @ 2015-01-06 15:32 Debm.Zhang 阅读(183) 评论(0) 推荐(0)
摘要:原文http://levi.cg.am/archives/2925I、nginx开机启动在/etc/init.d/目录下创建脚本1vi /etc/init.d/nginx更改脚本权限1chmod 775 /etc/init.d/nginx编写脚本内容1234567891011121314151617... 阅读全文
posted @ 2014-12-31 10:31 Debm.Zhang 阅读(452) 评论(0) 推荐(0)
摘要:原文地址 http://levi.cg.am/archives/3127约定几个目录/usr/local/php/sbin/php-fpm/usr/local/php/etc/php-fpm.conf/usr/local/php/etc/php.ini一,php-fpm的启动参数1234567891... 阅读全文
posted @ 2014-12-31 10:09 Debm.Zhang 阅读(328) 评论(0) 推荐(0)
摘要:查看了进程, nginx, php-fpm都在运行, 排除程序错误, 那么就是配置的问题了.一个可能的错误, 是由于配置中的fastcgi_pass 配置错了错误的配置如下server { listen 80; server_name localhost; #cha... 阅读全文
posted @ 2014-12-30 18:34 Debm.Zhang 阅读(110474) 评论(1) 推荐(1)