ChinaUnix.net
相关文章推荐:

php 54 nginx 配置

# pass the php scripts to FastCGI server listening on 127.0.0.1:9000 # location ~ \.php$ { fastcgi_pass 127.0.0.1:900; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /usr/local/etc/nginx/fastcgi.conf ; include fastcgi_params; } 不知道怎么写 L: 1 C: 1 =======================================================...

by 啊泰 - BSD - 2007-08-07 14:58:02 阅读(1382) 回复(0)

相关讨论

我想用apache处理 .php程序 而 .html交付给nginx配置 不知道如何配置

by 啊泰 - BSD - 2007-08-09 16:53:00 阅读(1410) 回复(0)

哎,我配置nginx+FastCGI+php+Python后出现这问题 ,求解哦 我不是偶尔出现这错误,是一直出现这错误哈 502 Bad Gateway -------------------------------------------------------------------------------- nginx/0.6.32 [ 本帖最后由 lhm0491 于 2008-7-24 13:15 编辑 ]

by lhm0491 - BSD - 2008-07-26 16:11:36 阅读(1775) 回复(3)

nginx 的 rewrite 网站页面地址重写功能需要正则表达式模块 PCRE ,另外页面压缩传输需要 zlib 。 nginx 配置时只需引用下载后解压的 PCRE 和 ZLIB 源文件即可: ./configure –prefix=/usr/local/nginx –with-pcre=/backup/pcre-7.7 –with-zlib=/backup/zlib-1.2.3 在网上看到的另一种方法是: nginx的编译参数如下: [root@localhost]#./configure –prefix=/usr/local/server/nginx –with-openssl=/usr/include ...

by xh_terry - php文档中心 - 2008-08-03 23:52:44 阅读(1680) 回复(0)

基于nginx的nagios-3.1.2简要配置。此文主要关注于nginx的perl-cgi和php-cgi的安装及设置。 本文基于 http://www.lazysa.com/2009/05/392.html ,http://www.thismail.org/bbs/thread-3002-1-1.html 改进。 我的主机环境 操作系统:debian 5.0 web服务器:nginx 6.32 CGI-perl环境:nginx-fcgi CGI-php环境:FastCGI nagios版本:nagios 3.1.2 nagios 的安装在这里就不谈了,你可以看看这个: http://nagios-cn.sourceforge.net/n...

by 357202171 - 监控及自动化运维技术 - 2013-09-13 14:10:30 阅读(12036) 回复(2)

请问一下,在 nginx 下如何反向代理设置? 网上搜索了很久也没找到, nginx 中文资料太少了 (希望那位大侠能提供一份中文手册) 应用如下: 192.168.1.33 机器上安装有 nginx + apache22( port : 81 ) 192.168.1.233 机器上安装有 apache22 我的外网地址指向80端口指向在 192.168.1.33 我想通过实现 : www.domainA.com 指向 192.168.1.33:81 www.domainB.com 指向 192.168.1.233:80 请问一下如何实现呢? 我的环境是 Ubu...

by BSD_KT - 服务器应用 - 2008-08-21 09:17:36 阅读(1844) 回复(2)

nginx的root配置 root syntax: root path default: root html context: http, server, location, if in location root specifies the document root for the requests. For example, with this configuration location /i/ { root /spool/w3; } A request for "/i/top.gif" will return the file "/spool/w3/i/top.gif". You can use variables in the argument. 发现还有种方法 root /us...

by zhengwei_zw - BSD - 2008-07-22 16:51:39 阅读(4453) 回复(1)

#运行用户 user nobody nobody; #启动进程 worker_processes 2; #全局错误日志及PID文件 error_log logs/error.log notice; pid logs/nginx.pid; #工作模式及连接数上限 events[color="navy"]{use epoll; worker_connections 1024;[color="navy"]}#设定http服务器,利用它的反向 代理 功能提供 负载均衡 支持 http[color="navy"]{#设定mime类型 include conf/mime.types; default_type application/octet-str...

by 剑心通明 - BSD文档中心 - 2008-03-23 20:34:21 阅读(824) 回复(0)

我的应用有一台数据库服务器和一台web服务器组成。 web服务器:nginx+php-cgi centos5.0 ,数据库centos5.0,mysql5.0.36 当时网站访问量大的时候web压力很大,但是mysql压力很小。 http://bbs.****.com/nginxStatus 显示waiting数量很大。 nginx配置: worker_processes 8; pid /var/run/nginx/nginx.pid; # [ debug | info | notice | warn | error | crit ] #error_log /var/log/nginx.error_log info; #Specifies th...

by jiangyonghe - 服务器应用 - 2009-07-28 16:33:21 阅读(1155) 回复(3)

1.请问nginx配置文件语法在哪里有文档,google过实在找不到 2.判断一个变量值是否为空怎样写 if (-X $http_YYYY) { // 这里的X选项应该是什么? }

by Sam1860 - 服务器应用 - 2008-12-20 18:43:26 阅读(2914) 回复(1)

论坛其他模块中的一些高手说nginx挺不错,那sco上能配置nginx吗?

by 光速 - 其他UNIX - 2008-12-25 09:43:44 阅读(1572) 回复(2)