duyanming / Viper

Viper 是一个基于Anno微服务引擎开发的Dashboard示例项目。Anno 底层通讯采用 grpc、thrift。自带服务发现、调用链追踪、Cron 调度、限流、事件总线等等

Home Page:http://anno.liqingxi.cn/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nginx proxy websocket MonitorHub

duyanming opened this issue · comments

upstream anno {
        ip_hash;
        server 127.0.0.1 weight=3;
}
server{
	listen 8089;
	location / {
		proxy_pass http://anno/;
		index index.html index.htm index.nginx-debian.html;
	}
	location /MonitorHub {
		proxy_pass http://anno/MonitorHub;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "upgrade";
		index index.html index.htm index.nginx-debian.html;
	}
}