ngx-website : http://nginx.org/en/download.html
1、安装
nginx source
wget -P $HOME/Downloads/ http://nginx.org/download/nginx-1.16.1.tar.gz
ngx_cache_purge
wget -P $HOME/Downloads http://labs.frickle.com/files/ngx_cache_purge-2.3.tar.gz
more_set_headers
wget -P $HOME/Downloads https://github.com/openresty/headers-more-nginx-module/archive/v0.33.tar.gz
decompress
sudo tar zxvf $HOME/Downloads/ngx_cache_purge-2.3.tar.gz -C /usr/local/src
sudo tar zxvf $HOME/Downloads/nginx-1.16.1.tar.gz -C /usr/local/src
sudo tar zxvf $HOME/Downloads/v0.33.tar.gz -C /usr/local/src
mkdi