ngin 配置反向代理:


server {
    listen 80;
    server_name www.nginx.cn nginx.cn;
 
    location / {
       proxy_pass http://127.0.0.1:8080;
    }
}