A cli tool to quickly create and manage nginx server blocks. https://up.js.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Muthu Kumar bcd4d5a830 Minor Refactoring, added check for IP Addresses 7 years ago
actions Minor Refactoring, added check for IP Addresses 7 years ago
assets Add icon 7 years ago
util Minor Refactoring, added check for IP Addresses 7 years ago
.gitignore Working on proxy server module 7 years ago
README.md Add icon 7 years ago
Roadmap.md proxy server almost done 7 years ago
index.js Minor Refactoring, added check for IP Addresses 7 years ago
package-lock.json proxy server almost done 7 years ago
package.json proxy server almost done 7 years ago

README.md






quick nginx server blocks in one command






up

up is a command line application that creates nginx server blocks quickly with a single command.

⚠️ up is not ready for use yet! Do not attempt to use this!

Installation

You will need to have node JS and nginx installed.

⚠️ up is not published on npm because it's still in development. If you intend to install it for development, follow these instructions:

git clone https://github.com/codefeathers/up-serve

cd up-serve

npm install

npm install -g

up is now available as a command.

Commands

up static <domain> - Create new static server at current folder.

up proxy <domain> <port> - Create new proxy server listening at said port.

up list - List currently available servers.

up kill <domain> - Kill the server for this domain.

Examples:

up static example.com will serve a static website from current folder.

up proxy example.com 8081 will create a reverse proxy listening at port 8081.