首页 » 互联网资讯 » 正文

unknown directive “sub_filter” in /usr/local/nginx/conf/vhost/

该怎么办?

[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

———————————————————————————————————————————————————————–

可能加错地方了,也可能没编译安装成功

ddos vps

发表评论