码迷,mamicode.com
首页 >  
搜索关键字:配置nginx    ( 1389个结果
Nginx+nagios安装配置
Nginx+nagios安装配置[root@Nagios ~]# vi /etc/nginx/nginx.conf server { listen 80; server_name localhost; auth_basic "Nagios A...
分类:移动开发   时间:2015-12-07 00:35:06    阅读次数:347
Centos6.5安装及简单配置nginx
Centos6.5安装及简单配置nginx一、准备事项(1)因为nginx需要访问80端口所以请先关闭或者开放防火墙端口,和selinux。参考命令关闭防火墙:[root@local~]#iptables-IINPUT-ptcp--dport80-jACCEPT[root@local~]#serviceiptablessave关闭selinux:[root@local~]#setenforce0[roo..
分类:其他好文   时间:2015-12-04 06:38:20    阅读次数:183
thinkphp配置nginx伪静态并解决PATHINFO问题和fix_pathinfo漏洞
nginx.conf的server配置,当文件不存在时,就采用伪静态server{ listen 801; index index.html index.htm index.php; root D:/data/code/jsjh-admin/wwwroot; locatio...
分类:Web程序   时间:2015-12-02 17:55:04    阅读次数:136
CentOS6.5安装nginx及负载均衡配置
nginx安装,配置,负载均衡
分类:其他好文   时间:2015-11-26 19:04:00    阅读次数:223
nginx做负载均衡反向代理的配置
nginx.conf配置文件内容:#根据服务器核心数设定 worker_processes1; error_log/usr/local/nginx/logs/nginx_error.logcrit; pid/usr/local/nginx/nginx.pid; worker_rlimit_nofile51200; events{ useepoll; worker_connections51200; } http{ includemime.types; default_typea..
分类:其他好文   时间:2015-11-23 15:00:03    阅读次数:149
nginx.conf配置
nginx.conf配置在此记录下Nginx服务器nginx.conf的配置文件说明, 部分注释收集与网络.#运行用户 user www-data;#启动进程,通常设置成和cpu的数量相等 worker_processes 1;#全局错误日志及PID文件error_log /var/log/ngin...
分类:其他好文   时间:2015-11-22 21:49:07    阅读次数:142
linux+nginx+php搭建学习笔记
文章内内容均参考网络上各类文章后自行整理,感谢原文作者的分享.OS环境CentOSrelease6.6一,安装配置nginx下载目前nginx最新的稳定版本nginx-1.8.0#wgethttp://nginx.org/download/nginx-1.8.0.tar.gz解压编译安装#tar-xvfnginx-1.8.0.tar.gz#cdnginx-1.8.0#./configure--prefix..
分类:Web程序   时间:2015-11-18 18:10:36    阅读次数:214
配置nginx,支持php的pathinfo路径模式
nginx模式默认是不支持pathinfo模式的,类似index.php/index形式的url会被提示找不到页面。下面的通过正则找出实际文件路径和pathinfo部分的方法,让nginx支持pathinfo。 server { listen 8080; se...
分类:Web程序   时间:2015-11-18 15:36:20    阅读次数:149
Nginx反向代理
一、安装./configure--user=nginx--group=nginx--prefix=/usr/local/nginx--with-http_stub_status_module--with-http_ssl_module--with-http_realip_module二、配置Nginx的反向代理功能,其实就是一个upstream模块加一段主机SERVER定义。
分类:其他好文   时间:2015-11-18 02:05:53    阅读次数:174
Windows下配置nginx+php(wnmp)
第一部分:准备工作。(系统:Windows 8.1)1.首先是下载软件。NGINX-1.3.8官网下载:http://nginx.org/en/download.htmlPHP5.4.8版本下载地址:http://windows.php.net/download/Mysql5.5.28版本下载地址:...
分类:Windows程序   时间:2015-11-17 12:53:14    阅读次数:274
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!