找回密码
 注册
查看: 10287|回复: 1

[emerg] unknown directive "sub_filter" in /usr/local/nginx/conf/vhost/

[复制链接]
发表于 2012-9-15 09:44:09 | 显示全部楼层 |阅读模式

请问我是按照这个帖子做的
https://bbs.vpser.net/viewthread.php?tid=8512
但是还是出这个错误。

请问军哥该怎么办?


[root@xxx ~]# /usr/local/nginx/sbin/nginx -V
nginx version: nginx/1.3.5
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
TLS SNI support disabled
configure arguments: --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-ipv6 --add-module=/root/substitutions4nginx-read-only


[root@xxx ~]# ls /root
2.txt                nginx-1.2.3         substitutions4nginx-read-only
index.html           nginx-1.2.3.tar.gz  test
lnmp                 nginx-1.3.5         upgrade_nginx.sh
lnmp0.9-full         nginx-1.3.5.tar.gz  vhost.sh
lnmp0.9-full.tar.gz  pureftpd
美国VPS推荐: 遨游主机、Linode、LOCVPS、主机云、搬瓦工、80VPS、Vultr等美国VPS主机。中国VPS推荐: 阿里云、腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-9-15 13:50:43 | 显示全部楼层


可能加错地方了,也可能没编译安装成功
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2026-11-27 05:00 , Processed in 0.006474 second(s), 18 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表