![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
berg_bao
专注java技术
展开
-
1.Nginx 安装
注意: 学习测试环境,VMware Workstation 14 Pro,CentOS-7-64-1708 流程如下: 获得nginx安装包地址: http://nginx.org/ --> http://nginx.org/en/download.html --> http://nginx.org/download/nginx-1.14.0.tar.gz 下载安装包: cd /...原创 2018-07-31 23:06:43 · 166 阅读 · 0 评论 -
2.Nginx 信号量(开,关,重载等)
说明: 1. nginx安装目录为 /usr/local/nginx 2. Use the following syntax: nginx -s signal 3. This command should be executed under the same user that started nginx. 具体如下: /usr/local/nginx/sbin/nginx — sta...原创 2018-08-01 09:14:01 · 219 阅读 · 0 评论 -
4.Nginx 虚拟主机配置(2)----server
说明: CentOS7.0所属虚拟机在win10上安装. http { //1.基于IP的虚拟主机 server{ listen 80; server_name 192.168.145.128; location / { root berg; index test_ip.html; ...原创 2018-08-06 21:36:48 · 149 阅读 · 0 评论 -
3.Nginx 虚拟主机配置(1)----主配置说明
说明: 配置文件目录: cd /usr/local/nginx/conf 主文件: cat /usr/local/nginx/conf/nginx.conf nginx.conf配置文件简单说明: // 全局区#user nobody; // 工作进程,建议设置为: CPU数 * 核数worker_processes 12; worker_rlimit_nofile 65535; ...原创 2018-08-06 20:32:31 · 143 阅读 · 0 评论