nginx通过url跳转到另外的一个url上
更新:HHH   时间:2023-1-7


#user nobody;
worker_processes 1;

events {
worker_connections 1024;
}

http {
sendfile on;
server {
listen 7080;
server_name localhost;

     location ^~ /demo { 
    proxy_pass http://127.0.0.1/;
}
location / {  
    root html;
    index index.html index.htm;
}
}

}

返回系统运维教程...