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.

53 lines
1.7 KiB

7 years ago
<br /><br /><br /><br /><br />
7 years ago
<p alt="up—quick server blocks in one command" align="center"><img height="80"src="assets/icon.png"></p>
7 years ago
<p align="center">quick <em>nginx</em> server blocks in one command</p>
7 years ago
7 years ago
<br /><br /><br /><br /><br />
7 years ago
7 years ago
# up
> Current version: `up v.0.2.1 (Alpha)`
7 years ago
> Notes: `up` is now in Alpha! 🎉 [(Changelog)](/docs/Changelog.md)\
> ⚠️ ❌ `up` is pretty useable so far. If you're testing `up` on a development server, do give us feedback.
7 years ago
**`up`** is a command line application that creates nginx server blocks quickly with a single command.
7 years ago
7 years ago
## Installation
`up` currently supports nginx mainline and nginx stable on Linux based distros. Support for more distros will come soon. Add an issue to bump this process.
7 years ago
You will need to have [_node JS_](https://nodejs.org) and [_nginx_](https://nginx.org) installed.
Install `up` from npm:
`npm i -g up-serve`
> `up` is now available as a command.
## Basic 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.
- `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`
7 years ago
---
7 years ago
<h4 align="center"><a href="/docs/Roadmap.MD">Roadmap</a></h4>
7 years ago
<h4 align="center"><a href="Contributing.MD">Contribution Guidelines</a></h4>
7 years ago
<h4 align="center"><a href="/docs/Contributors.md">Contributors, Collaborators, and Guides</a></h4>