
nginx
ytuglt
这个作者很懒,什么都没留下…
展开
-
nginx系列2-nginx安装
1.官网http://nginx.org/2.下载点击右侧的download点击下图所示的stabel_version3.安装根据所打开的网页的安装说明进行安装[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 · 167 阅读 · 0 评论 -
nginx系列-准备工作
1.查看网络状况[root@bogon opt]# ping www.baidu.comPING 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 ms64 bytes from 180.149.131.98: ic...原创 2018-12-18 07:43:18 · 170 阅读 · 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 · 250 阅读 · 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 · 245 阅读 · 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 · 155 阅读 · 0 评论 -
nginx系列6-http_stub_status_module模块(Nginx的客户端状态)
1.安装编译参数编译选项作用–with-http_stub_status_moduleNginx的客户端状态,用于监控nginx当前的连接信息2.配置语法Syntax : stub_status;Default: – 默认没有配置Context: server,location3.配置实战1.配置[root@localhost backup]# cd /e...原创 2019-01-20 18:09:47 · 1642 阅读 · 1 评论