cdng - Create Your Own CDN with NGINX
cdng is a tool for automatically creating a professional CDN (Content Delivery Network) using NGINX. It simplifies the setup and management of CDN nodes, providing features like automatic SSL certificate generation and easy domain and port management.
Quick Start
1. Install cdng
To install cdng, simply run the following command:
bash <(curl -Ls https://raw.githubusercontent.com/AfazTech/cdng/master/scripts/install.sh)
CLI Usage
After installation, you can use the CLI as follows:
# Add a domain and generate valid SSL cert
cdng add-domain example.com 192.168.1.10
# Remove domain
cdng delete-domain example.com
# Manage ports
cdng add-port 8080
cdng delete-port 8080
# Control NGINX
cdng status
cdng reload
cdng stop
cdng restart
# System stats
cdng stats
License
This project is licensed under the MIT License. For more information, see the LICENSE file.