![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
河边有座庙
这个作者很懒,什么都没留下…
展开
-
nginx的编译安装
nginx下载网站 http://nginx.org/ http://nginx.org/en/download.html > http://nginx.org/download/nginx-1.15.8.tar.gz cd nginx-1.15.8 ./configure --sbin-path=/usr/local/nginx/nginx –conf-path=/usr/local/...原创 2019-01-03 17:19:17 · 261 阅读 · 0 评论 -
nginx的启动脚本
nginx的下载包网站 http://nginx.org/en/download.html 安装指导中文文档网站http://www.nginx.cn/doc/ 编译安装参考 http://www.nginx.cn/install原创 2018-12-24 14:38:03 · 85 阅读 · 0 评论 -
nginx--upstream
upsteam模块是nginx 的代理模块 需要配合proxy_pass http://XXXX/使用 1、轮询(默认) upsteam abc { server server1; server server2; } 2、weight ;权重分配 指定轮询几率,weight和访问比率成正比,用于后端服务器性能不均的情况 upstream bakend { server 192.168.0.1 w...原创 2019-01-04 11:30:05 · 669 阅读 · 0 评论 -
nginx编译后添加模块stub-status(状态页)
下载tengine安装包 http://tengine.taobao.org/download.html tengine-2.2.3.tar.gz 解压 编译安装tengine ./configure --prefix=/usr/local/tengine 然后接二连三的报错pcre openssl zlib 正确添加 --with-pcre源程序目录地址 --with-zilb源程序地址–wi...原创 2019-01-04 15:10:21 · 844 阅读 · 0 评论