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;}}
}
nginx通过url跳转到另外的一个url上
原文地址:http://blog.51cto.com/13172370/2131436