Domain name Jump

server {
listen 80;
include gfw.conf
include domain/ae.txt;
location / {
if ($host ~* (.).test1.com|test1.com {                               
rewrite ^/(.) https://www.baidu.com/$1 permanent;
} 
if ($host ~* (.).test2.com|test2.com) {                               
rewrite ^/(.) https://www.baidu.com/$1 permanent;
}
}
access_log /home/logs/ae_nginx.log;
}

发表回复