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 7d83c727d0 Fixed `servers.up` parsing issues. 7 years ago
.vscode VSCode Tab indentation and LF endings 7 years ago
actions Removed dependency on `validator` and added local module. Working on bugs. 7 years ago
assets Removed dependency on `validator` and added local module. Working on bugs. 7 years ago
build Removed dependency on `validator` and added local module. Working on bugs. 7 years ago
utils Fixed `servers.up` parsing issues. 7 years ago
.eslintrc.json Merged eslintrc fix 7 years ago
.gitignore Working on proxy server module 7 years ago
Contributing.MD Bump version to v.0.1.0 7 years ago
LICENSE Create LICENSE 7 years ago
README.md Bump to 0.1.8 7 years ago
Roadmap.md Bump version to v.0.1.0 7 years ago
index.js Removed dependency on `validator` and added local module. Working on bugs. 7 years ago
package-lock.json Removed dependency on `validator` and added local module. Working on bugs. 7 years ago
package.json Removed dependency on `validator` and added local module. Working on bugs. 7 years ago

README.md






quick nginx server blocks in one command






up

Current version: up v.0.1.8 (Pre-Alpha)

Notes: up is coming soon to Alpha! 🎉 Changelog will be added from up v.0.2.0 (Alpha/MVP)
⚠️ up is 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.

Install up from npm:

npm i -g up-serve

up is now available as a command.

Commands

Format: up command <required> [optional]

  • up static <domain> [outbound port] - Create new static server at current folder.
  • up proxy <domain> <inbound port> [outbound port] - Create new proxy server listening at said port.
  • up list - List currently available servers. (Doesn't work yet)
  • 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.
  • up kill example.com

Contributors, Collaborators, and Guides

Plenty of people gave their time guiding me and shaping this tool.

I'd like to thank and give credit to The Devs Community, who are the primary reason this exists.

I'd also personally thank the following amazing people for their valuable support and feedback: Pouria Ezzati, Thomas Rory Gummerson, Omar Khalil, Martin, GingerPlusPlus, Faizan Akram.

And the following people for their moral support and listening to my constant bickering: David (The Humanoid), Иброхеем, Simon 'SitiSchu' Schürrle.