|
|
8 years ago | |
|---|---|---|
| actions | 8 years ago | |
| assets | 8 years ago | |
| util | 8 years ago | |
| .gitignore | 8 years ago | |
| Contributing.MD | 8 years ago | |
| README.md | 8 years ago | |
| Roadmap.md | 8 years ago | |
| index.js | 8 years ago | |
| package-lock.json | 8 years ago | |
| package.json | 8 years ago | |
README.md
![]()
quick nginx server blocks in one command
up
Current version:
up v.0.1.0 (Pre-Alpha)
Notes:
uphas landed in pre-alpha! 🎉 Changelog will be added fromup v.0.2.0(Alpha/MVP)
⚠️ ❌upis still not ready for use yet! Do not attempt to use this in development or production until alpha!
up is a command line application that creates nginx server blocks quickly with a single command.
Installation
As of now, up only supports Debian and Ubuntu based distros. Support for more distros will come soon. Add an issue to bump this process.
You will need to have node JS and nginx installed.
⚠️ ❌ You have been warned that
upis 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
upis now available as a command.
Alternatively, install from npm:
npm i -g up-serve
upis 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.