Server manager for nginx hosts
Simple manager for creating and removing hosts from nginx site-enabled
git clone https://github.com/jsifalda/nginx-server-manager-bash.git)
Make server manager global!
cp server-manager.sh /usr/local/bin/server-manager
(Don't forget to have /usr/local/bin in your PATH)
(nginxConfDir & hostsFile) in file server-manager for your environment
Run forest, run!
SUDO is required!)
Creating host with cloned repository
sudo server-manager -c <git-repo>
sudo server-manager -r