This is a collection of shell (Bash) script to manage nginx virtual hosts The createServerProxy script creates a new proxy "server block" (virtual host) in sites-available folder.
Just drop the script and the symbolic links in /usr/sbin
or other
location appropriate for your system. Meaning: cp ngx-*site /usr/sbin
.
The script is written in Bash.
Thanks to perusio for the original script.