![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
ytuglt
这个作者很懒,什么都没留下…
展开
-
nginx系列2-nginx安装
1.官网 http://nginx.org/ 2.下载 点击右侧的download 点击下图所示的stabel_version 3.安装 根据所打开的网页的安装说明进行安装 [root@localhost yum.repos.d]# cd /etc/yum.repos.d/ [root@localhost yum.repos.d]# vim nginx.repo [nginx] name=...原创 2018-12-20 22:59:47 · 103 阅读 · 0 评论 -
nginx系列-准备工作
1.查看网络状况 [root@bogon opt]# ping www.baidu.com PING www.a.shifen.com (180.149.131.98) 56(84) bytes of data. 64 bytes from 180.149.131.98: icmp_seq=1 ttl=56 time=24.0 ms 64 bytes from 180.149.131.98: ic...原创 2018-12-18 07:43:18 · 146 阅读 · 0 评论 -
nginx系列4-默认配置语法
1.默认配置文件基础 [root@localhost ~]# cd /etc/nginx [root@localhost nginx]# vim nginx.conf user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; even...原创 2019-01-04 13:47:52 · 206 阅读 · 0 评论 -
nginx系列5-http请求
1.通过curl查看 在linux下,curl命令工具的功能跟浏览器的功能类似,只不过没有渲染功能,通过下面命令可以查看 [root@localhost ~]# curl -v http://www.imooc.com >/dev/null % Total % Received % Xferd Average Speed Time Time Time Curr...原创 2019-01-04 14:07:01 · 204 阅读 · 0 评论 -
nginx系列3-nginx基本参数
1. 安装目录 查看nginx安装目录 [root@localhost yum.repos.d]# rpm -ql nginx /etc/logrotate.d/nginx /etc/nginx /etc/nginx/conf.d /etc/nginx/conf.d/default.conf /etc/nginx/fastcgi_params /etc/nginx/koi-utf /etc/ngi...原创 2019-01-02 20:35:29 · 130 阅读 · 0 评论 -
nginx系列6-http_stub_status_module模块(Nginx的客户端状态)
1.安装编译参数 编译选项 作用 –with-http_stub_status_module Nginx的客户端状态,用于监控nginx当前的连接信息 2.配置语法 Syntax : stub_status; Default: – 默认没有配置 Context: server,location 3.配置实战 1.配置 [root@localhost backup]# cd /e...原创 2019-01-20 18:09:47 · 1600 阅读 · 1 评论