Muthu Kumar
7 years ago
6 changed files with 48 additions and 23 deletions
@ -1,16 +1,37 @@ |
|||||
# `up` — quick server blocks |
<p align="center"><a href="http://moonjs.ga" target="_blank"><img width="100"src="assets/up.png"></a></p> |
||||
|
|
||||
> ⚠️ |
--- |
||||
🚫 |
|
||||
`up` is not ready for use yet! It's in pre-release. |
<h2 align="center">`up` — quick server blocks</h1> |
||||
|
|
||||
**`up`** is a command line application to create nginx server blocks quickly in a single command. |
--- |
||||
|
|
||||
You will need to have nginx installed. |
> ⚠️ ❌ `up` is not ready for use yet! Do not attempt to use this. |
||||
https://nginx.org |
|
||||
|
**`up`** is a command line application to create nginx server blocks quickly with a single command. |
||||
### Examples: |
|
||||
|
You will need to have nodeJS and nginx installed. |
||||
`up static example.com` will serve a static website from current folder. |
|
||||
|
https://nodejs.org |
||||
|
|
||||
|
https://nginx.org |
||||
|
|
||||
|
--- |
||||
|
|
||||
|
### 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. |
`up proxy example.com 8081` will create a reverse proxy listening at port 8081. |
Binary file not shown.
After Width: | Height: | Size: 312 KiB |
After Width: | Height: | Size: 4.1 KiB |
Loading…
Reference in new issue