You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bash scripts to create nginx sites proxied by Cloudflare
Prerequisite:
sudo apt-get install jq to install jq - a tool to parse json
Instructions:
git clone https://github.com/KhoiUna/cloudflare-nginx-dns-sh-scripts dns-scripts at your /home/<user> directory
sudo cp sample.config.json config.json then sudo nano config.json. Configure config.json with your info
sudo sh dns-scripts/create-site <your full site's domain name>.
Eg:sudo sh dns-scripts/create-site test.example.com. This will run all the scripts to create your own site folder in /var/www/test.example.com and create /etc/nginx/sites-available/test.example.com symlink in /etc/nginx/sites-enabled
About
Bash scripts to create nginx sites proxied by Cloudflare