欢迎光临
我的个人博客

nginx 简单反向代理配置

http {
    upstream site {
        server 127.0.0.1:8080 weight=1;
        server 127.0.0.1:8888 weight=1;
    }
    server {
        listen       80;
        server_name  localhost;

        location / {
	   proxy_pass http://site;
        }
      .......................

   }
}

转载请标明来源:ibear » nginx 简单反向代理配置

分享到:更多 ()

Where there is a will there is a way

BladeX企业级开发平台