输入子目录跳转
server {
listen 80 ;
server_name www.shitou6.work;
location /temp {
rewrite /(.*) http://baidu.com;
}
location /temp1 {
rewrite /(.*) http://sohu.com;
}
输入子目录跳转
server {
listen 80 ;
server_name www.shitou6.work;
location /temp {
rewrite /(.*) http://baidu.com;
}
location /temp1 {
rewrite /(.*) http://sohu.com;
}