nginx 使用同事的IP

鵬歌歌發表於2019-01-25
  • 將自己的IP改成同事的IP
localhost =>  192.168.10.103
複製程式碼
	 
 upstream wa_tomcats_krpano{
		server localhost:6001 weight=10;
 }
 upstream wa_phone_tomcats_krpano{
        server localhost:6001 weight=10;
 }
 upstream wa_auth_tomcats_krpano{
		server localhost:7001 weight=10;
 }
 
 upstream qrc_auth_tomcats{
		server localhost:7002 weight=10;
 }
 upstream qrc_phone_tomcats{
        server localhost:7003 weight=10;
 }
 upstream qrc_pc_tomcats{
		server localhost:7003 weight=10;
 }

 upstream bi_auth_tomcats{
		server 192.168.10.103:7012 weight=10;
 }
 upstream bi_phone_tomcats{
        server 192.168.10.103:7013 weight=10;
 }
 upstream bi_pc_tomcats{
		server 192.168.10.103:7013 weight=10;
 }
 upstream sub_auth_tomcats{
		server localhost:7004 weight=10;
 }
 upstream bi_websocket_tomcats{
		server 192.168.10.103:22101 weight=10;
		server 192.168.10.103:22102 weight=10;
 }
複製程式碼

相關文章