摘要: nginx支持以下命令行参数: -?| -h - 打印命令行参数的帮助。 -c file - 使用替代配置file而不是默认文件。 -g directives- 设置全局配置指令,例如,nginx -g“pid /var/run/nginx.pid; worker_processes sysctl 阅读全文
posted @ 2020-07-24 16:12 pengsn 阅读(699) 评论(0) 推荐(0) 编辑
摘要: 大小符号 g, G GB m, M MB k, K KB 时间符号 ms milliseconds s seconds m minutes h hours d days w weeks M months, 30 days y years, 365 days 阅读全文
posted @ 2020-07-24 16:09 pengsn 阅读(237) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/1938716/202007/1938716-20200724160045665-753402781.png) 阅读全文
posted @ 2020-07-24 16:01 pengsn 阅读(163) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/1938716/202007/1938716-20200724151927615-1426530166.png) 阅读全文
posted @ 2020-07-24 15:20 pengsn 阅读(88) 评论(0) 推荐(0) 编辑
摘要: nginx配置结构 配置文件位置: /conf/nginx.conf Part-01 [Main] #user root nobody;// 指定启动用户 #worker_processes 1; // cpu核心数 #worker_cpu_affinity // 指定cpu核心 0010 even 阅读全文
posted @ 2020-07-24 15:12 pengsn 阅读(220) 评论(0) 推荐(0) 编辑
摘要: windows下目录结构 `` linux下目录结构 阅读全文
posted @ 2020-07-24 15:05 pengsn 阅读(224) 评论(0) 推荐(0) 编辑
摘要: nginx官网 http://nginx.org linux下安装nginx 安装包下载路径 http://nginx.org/en/download.html 选择nginx linux版下载 nginx-1.16.1.tar.gz 解压到当前目录,解压命令: tar -zxvf nginx-1. 阅读全文
posted @ 2020-07-24 14:52 pengsn 阅读(198) 评论(0) 推荐(0) 编辑
摘要: nginx官网 http://nginx.org windows安装nginx 安装包下载路径 http://nginx.org/en/download.html 选择nginx-windows版下载 nginx-1.18.0.zip 解压到当前目录,进入nginx-1.18.0 启动服务 直接启动 阅读全文
posted @ 2020-07-24 14:32 pengsn 阅读(138) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/1938716/202007/1938716-20200724091808169-558477221.png) 阅读全文
posted @ 2020-07-24 09:19 pengsn 阅读(158) 评论(0) 推荐(0) 编辑