[DEPRECATED] PHP script for fast creating virtutal host for nginx
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README.md
server-manager.phpc

README.md

NGINX server manager

Development is stopped.

###Please visit new version: nginx-server-manager-bash

PHP script (used from command line) for fast creating virtual host in nginx server

##Installing

  • download source files
  • copy server-manager.phpc to your server root directory
  • enjoy it!

Usage

sudo php <path>/server-manager.phpc -n <name-of-new-server>

SUDO is required!

##Parameters

  • -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?