nginx +location + https
wget http://nginx.org/packages/rhel/6/x86_64/RPMS/nginx-1.14.0-1.el6.ngx.x86_64.rpm (下载nginxRPM管理包) rpm -ivh nginx-1.14.0-1.el6.ngx.x86_64.rpm (安装nginx) 开始实验: /etc/nginx/ ├── conf.d (拓展文件) │ ├── abc.conf │ ├── default.conf │ ├── efg.conf │ └── error.conf ├── fastcgi_params ├── koi-utf ├── koi-win ├── mime.types ├── modules -> ../../usr/lib64/nginx/modules ├── nginx.conf (主配文件) ├── scgi_params ├── uwsgi_params └── win-utf /usr/share/nginx/html/ (数据文件) ├── 50x.html ├── abc │ └── index.html ├── efg │ └── index.html ├── error │ └── index.html └── index.html **# 基于虚拟主机的两个网站** [root@localhost conf.d