Skip to content

A minimalistic site manager for NGINX.

License

Notifications You must be signed in to change notification settings

sheikhuzairhussain/nxsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation




NXSite is a minimalistic site manager for NGINX. Works on most Linux-based systems. Heavily inspired by Apache's a2ensite and a2dissite utilities.

Installation

sudo wget https://raw.githubusercontent.com/sheikhuzairhussain/nxsite/main/nxsite -P /usr/bin/
sudo chmod +x /usr/bin/nxsite

Usage

To list all/available sites:

nxsite list [all|enabled]

To enable/disable a site:

nxsite [up|down] <site-config-name>

Example

To list enabled sites:

nxsite list enabled

To enable example.com

nxsite up example.com

About

A minimalistic site manager for NGINX.

Topics

Resources

License

Stars

Watchers

Forks

Languages