摘要: Nginx监控页面模块安装 使用该模块可以记录我们Nginx客户端的基本访问状态信息。 情况1:Nginx未安装 #在我们要进行编译安装时加入--with-http_stub_status_module模块 ./configure --prefix=/usr/local/nginx --with-h 阅读全文
posted @ 2022-03-04 16:53 RFAA 阅读(248) 评论(0) 推荐(0) 编辑
摘要: Nginx配置 修改配置文件/usr/local/nginx/conf/nginx.conf进行配置(根据自己nginx的安装路径) 修改完配置文件记得重新加载:./nginx -s reload 1.方式一:直接修改配置文件 #配置负载的服务器及端口 http { upstream tomcats 阅读全文
posted @ 2022-03-04 16:33 RFAA 阅读(29) 评论(0) 推荐(0) 编辑
摘要: nginx包下载地址:http://nginx.org/download/ Nginx的部署 该部署使用的Red Hat 7为例 1.安装依赖包 yum install gcc gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel 阅读全文
posted @ 2022-03-04 15:47 RFAA 阅读(59) 评论(0) 推荐(0) 编辑