Publish: 2018-04-27 | Modify: 2018-04-27
Yes, copy the command below and follow the prompts to operate.
wget https://raw.githubusercontent.com/helloxz/nginx-cdn/master/nginx.sh && bash nginx.sh
Although LNMP and OneInstack can also install Nginx separately, I don't use them because some modules are missing and still need to be recompiled. This script has built-in commonly used modules for reverse proxy. For example:
Refer to the following self-built CDN tutorial for better results:
Script source code: https://github.com/helloxz/nginx-cdn
I come from China and I am a freelancer. I specialize in Linux operations, PHP, Golang, and front-end development. I have developed open-source projects such as Zdir, ImgURL, CCAA, and OneNav.