ningx配置域名黑名单失效,配置成ip就没问题
location / {
deny "http://xxxx.com";
root html;
index index.html index.htm;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.html?s=$1 last;
break;
}
}