server {
listen 80;
server_name xijunhan; #192.168.1.14
#charset koi8-r;
#access_log logs/host.access.log main;
location ^~ /jump.kanking.net/ {
rewrite ^/ https://www.baidu.com;
}
上面 xijunhan 是我随便写的域名 ect配置如下host:
我在最后加上了
xijunhan
求解