![](https://img-blog.csdnimg.cn/20210814104804392.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Nginx
分享一些在学习Nginx过程中的一些小知识
旺仔_牛奶
计算机领域渣渣一枚,立志成为云原生方向资深运维专家^_^,GitHub地址: https://github.com/jiayu997
展开
-
Nginx系列(3)--Nginx压缩
Nginx压缩功能配置文件user nginx;worker_processes 1;error_log logs/error.log info;pid logs/nginx.pid;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream; log_format main '$原创 2021-08-18 22:11:21 · 1109 阅读 · 0 评论 -
Nginx系列(2)--Nginx日志切割二种方法
Nginx日志切割nginx配置文件cat /app/nginx/conf/nginx.confuser nginx;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;error_log logs/error.log info;pid logs/nginx.pid;events { worker_connections 1024;}原创 2021-08-18 20:01:01 · 305 阅读 · 0 评论 -
Nginx系列 (1)--Nginx安装&升级&打补丁
Nginx安装&升级&打补丁主机环境1:Centos7.9(最小化安装)2:Nginx1.18.0,下载链接:http://nginx.org/download/nginx-1.18.0.tar.gzNginx安装# 上传安装包# 安装依赖包 [root@nginx ~]# yum -y install gcc make zlib-devel pcre pcre-devel openssl-devel# 创建nginx用户 [root@nginx ~]# userad原创 2021-08-16 22:22:57 · 4968 阅读 · 0 评论