四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区
標(biāo)題:
[提問]
Nginx配置文件有錯(cuò)
[打印本頁]
作者:
shunyixn
時(shí)間:
2016-6-2 21:49
標(biāo)題:
Nginx配置文件有錯(cuò)
配置文件檢查
當(dāng)前運(yùn)行 Nginx+Apache
再次檢查
大神幫忙看看,小白,第一次使用Wcdp,但在做檢查時(shí)報(bào)
Nginx配置文件有錯(cuò)
nginx: [emerg] invalid condition "\$invalid_referer" in /www/wdlinux/nginx/conf/vhost/shunyimall.com.conf:12
nginx: configuration file /www/wdlinux/nginx/conf/nginx.conf test failed
Apache配置文件正常
作者:
shunyixn
時(shí)間:
2016-6-2 22:44
/www/wdlinux/nginx/conf/vhost/shunyimall.com.conf
server {
listen 80;
root /www/web/shunyimall/public_html;
server_name shunyimall.com www.shunyimall.com;
index index.html index.php index.htm;
error_page 400 /errpage/400.html;
error_page 403 /errpage/403.html;
error_page 404 /errpage/404.html;
error_page 503 /errpage/503.html;
location ~ \.php$ {
proxy_pass http://127.0.0.1:88;
include naproxy.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ {
expires 1d;
}
location ~ .*\.(js|css|htm)?$ {
expires 12h;
}
location ~ /\.ht {
deny all;
}
location / {
try_files $uri @apache;
}
location @apache {
proxy_pass http://127.0.0.1:88;
include naproxy.conf;
}
}
歡迎光臨 WDlinux官方論壇 (http://cd-genova.com/bbs/)
Powered by Discuz! 7.2