cdng

command module
v0.0.0-...-cc1ad65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2025 License: MIT Imports: 1 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL