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.
1.4 KiB
1.4 KiB
Changelog / Version history
up
v. 0.3.1
- Minor patch: Fixed sudo not being required for commands.
up
v. 0.3.0
- BREAKING API changes. Functions will now accept an object instead of a list of arguments. This allows for named parameters that don't have to follow a precise order. Check README for details.
up
v. 0.2.5
up static
is DEPRECATED. Useup serve
instead.- Major refactor of code, and splitting of
index.js
tolib.js
andcli.js
. - Basic API now available.
- Usage of
conf.d
is DEPRECATED.up-serve
now only usessites-enabled
. Since everything is abstracted at a higher level, the need for maintaining two directories (Read sites-available here) is non-existent.
up
v. 0.2.1
- Bug fix and patch for
up kill-all
breaking unexpectedly due to undefined default config file.
up
v. 0.2.0
- Added CHANGELOG from here.
- Under the hood BREAKING changes. Working directories change.
/var/www/
to/etc/up-serve/static/
/etc/nginx/sites-available/
to/etc/nginx/conf.d
up static|proxy <domain>
adds the server to/etc/up-serve/servers.up
list.up kill <domain>
removes server fromservers.up
list.up list
lists available servers from /etc/up-serve/servers.up!up kill-all
destroys all servers and places adefault.conf
in/etc/nginx/sites-enabled
.