_ | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁
FrontPage › Hive襦覦碁一-Nginx

Contents

1 襦覦碁一
2 nginx
3 nginx.conf ク讌
4 覦覯
5 觜 焔
6 谿瑚


windows 覯 nginx れ

1 襦覦碁一 #

hive_load_balancing.png

2 nginx #

http://nginx.org/en/download.html れ願, Stable version れ企 , 豢螻, c: 豺.

3 nginx.conf ク讌 #

events {
	worker_connections 1024;
}

stream {
	upstream 10.0.0.100 {
		server 10.0.0.200:10000;
		server 10.0.0.201:10000;
		server 10.0.0.202:10000;
	}

	server {
		listen 10001;
		proxy_server 10.0.0.100
	}
}
襦覦碁一 覦 蠍磯蓋 殊企襦觜 覦企. 覦蠑碁る 襷 谿瑚 url

4 覦覯 #

一 覦覯曙 碁企 蠏豺 TCP 10001 豢螳

5 觜 焔 #

NSSM れ企 (windows service襦 襷れ伎 襦蠏碁) 豢 螻
https://nssm.cc/download

cmd 豢 蟆暑襦 企 れ
nssm install nginx

企蟆 覃 ui螳 , path nginx.exe 伎手, install service 覯殊 譯朱 .
觜る 企伎 貅譯朱 .


蠍 蠍郁鍵..
企: : るジ讓曙 襦螻豺 企Ν 譯殊語. 襦螻豺
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2022-07-15 14:10:41

蠍 螳螻 襷 蠍 朱 シ豎讌蠍 襷企.