|
|

楼主 |
发表于 2016-11-6 23:02:34
|
显示全部楼层
我是WDCP 我修改的 www/wdlinux/nginx/conf/vhost/www.123.com.conf
配置文件如下:
server {
listen 80;
root /www/web/123_com/public_html;
server_name 123.com;
index index.html index.php index.htm;
error_page 400 /errpage/400.html;
error_page 403 /errpage/403.html;
error_page 404 /errpage/4041.html;
error_page 503 /errpage/503.html;
location ~ \.php$ {
proxy_pass http://127.0.0.1:88;
include naproxy.conf;
}
location ~ /\.ht {
deny all;
}
location / {
try_files $uri @apache;
}
location @apache {
proxy_pass http://127.0.0.1:88;
include naproxy.conf;
}
map $http_cf_ipcountry $allow {
default yes;
CN no;
MX no;
NO no;
}
if ($allow = no) {
return 403;
}
}
请问为什么国内IP 还是可以访问呢? |
|