images\cherry_red.png1 采用docker部署Clodreve应用
      images\cherry_blue.png1.1 1,安装docker-compose
      images\cherry_blue.png1.2 2,搭建部署LNMP结构
         images\cherry_orange.png1.2.1 编写php配置文件
         images\cherry_orange.png1.2.2 编写nginx.conf配置文件
      images\cherry_blue.png1.3 3,配置应用目录
         images\cherry_orange.png1.3.1 nfs远程卷挂载
      images\cherry_blue.png1.4 MySQL配置
      images\cherry_blue.png1.5 测试部署应用
   images\cherry_red.png2 Cloudreve云架构设计图
      images\cherry_blue.png2.1 网络模式
      images\cherry_blue.png2.2 Linux命令
         images\cherry_orange.png2.2.1 chown
         images\cherry_orange.png2.2.2 find
         images\cherry_orange.png2.2.3 awk(文本切片处理)
         images\cherry_orange.png2.2.4 cut
      images\cherry_blue.png2.3 存储系统创建拉伸
         images\cherry_orange.png2.3.1 LVM逻辑卷的创建及使用
      images\cherry_blue.png2.4 Nginx初始化操作
         images\cherry_orange.png2.4.1 Nginx 惊群效应
      images\cherry_blue.png2.5 Nginx负载均衡反向代理
         images\cherry_orange.png2.5.1 负载均衡的算法
      images\cherry_blue.png2.6 存储服务器搭建
      images\cherry_blue.png2.7 构建动态服务器PHP
      images\cherry_blue.png2.8 Keepalived代理服务器高可用
         images\cherry_orange.png2.8.1 Keeplived原理
      images\cherry_blue.png2.9 MySQL主从模型构建
         images\cherry_orange.png2.9.1 主从复用(读写分离)
      images\cherry_blue.png2.10 上线Cloud应用
server {
listen 80;
# listen 443 ssl;
# ssl_certificate /etc/nginx/server.crt;
# ssl_certificate_key /etc/nginx/server.key;
# ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
# ssl_ciphers HIGH:!aNULL:!MD5;
# ssl_prefer_server_ciphers on;

server_name localhost;

#charset koi8-r;
#access_log /var/log/nginx/log/host.access.log main;

location / {
root /usr/share/nginx/html;
index index.html index.htm index.php;

#设置伪静态转发规则
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}

}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
root /usr/share/nginx/html;
fastcgi_pass __DOCKER_PHP_FPM__:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
location ~ /\.ht {
deny all;
}
}