下载部署包
1)下载插件
[root@localhost ~]# wget -O fancyindex.zip https://github.com/aperezdc/ngx-fancyindex/archive/v0.4.3.zip
[root@localhost ~]# wget -O fancytheme.zip https://github.com/Naereen/Nginx-Fancyindex-Theme/archive/master.zip
2)解压
[root@localhost ~]# unzip fancyindex.zip
[root@localhost ~]# unzip fancytheme.zip
yum -y install gcc-c++ pcre pcre‐devel zlib zlib‐devel openssl openssl‐devel
wget https://download.xinac.net/server/nginx/nginx-1.18.0.tar.gz wget https://download.xinac.net/server/nginx/modules/ngx-fancyindex-0.4.4.tar
部署
tar -xvf nginx-1.18.0.tar.gz tar -xvf ngx-fancyindex-0.4.4.tar
浙公网安备 33010602011771号