Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx proxy websocket MonitorHub #9

Closed
duyanming opened this issue Jun 26, 2021 · 0 comments
Closed

nginx proxy websocket MonitorHub #9

duyanming opened this issue Jun 26, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@duyanming
Copy link
Owner

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;
	}
}
@duyanming duyanming added the documentation Improvements or additions to documentation label Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant