NGINX server manager
Development is stopped.
PHP script (used from command line) for fast creating virtual host in nginx server
- download source files
- copy server-manager.phpc to your server root directory
- enjoy it!
sudo php <path>/server-manager.phpc -n <name-of-new-server>
SUDO is required!
- -n: Name of virtual host (required)
- -x: Nginx root dir. (Path to nginx config dir)
- -s: Server root dir (Path to your server folders)
- -d: Remove server?
- -r: Remove server with source code?