![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
吕晓敏
这个作者很懒,什么都没留下…
展开
-
Nginx负载均衡
一、Nginx负载均衡配置1、配置文件:PS:这里我使用了本机启动的tomcat和万维网来进行测试nginx.conf:# 运行用户user nobody;# 启动进程数,通常设置成和cpu的数量相等worker_processes 2;# 工作模式及连接数上限events { worker_connections 1024;}#设定http服务器h原创 2018-01-31 14:36:27 · 138 阅读 · 0 评论 -
Nginx 开启status用以监控状态信息
Nginx 开启status用以监控状态信息Nginx 可以通过with-http_stub_status_module模块来监控nginx的一些状态信息。1.通过nginx -V来查看是否有with-http_stub_status_module该模块。PS:nginx -V 这里“V”是大写的,如果是小写的v 即“nginx -v”,则不会出现有哪些模块,只会出现ngi...原创 2018-01-28 17:10:10 · 20015 阅读 · 0 评论