do-nginx-domains

0.0.25 • Public • Published

do-nginx-domains

Manage digital ocean domains inside an ubuntu LEMP dropplet. This tool can register new domains in digital ocean, create nginx config, generate cerbot and create a folder to work

oclif Version Downloads/week License

Usage

$ npm install -g do-nginx-domains
$ domains COMMAND
running command...
$ domains (-v|--version|version)
do-nginx-domains/0.0.25 linux-x64 node-v10.19.0
$ domains --help [COMMAND]
USAGE
  $ domains COMMAND
...

Commands

domains add DOMAIN

Add a new domain to Digital Ocean Nginx dropplet

USAGE
  $ domains add DOMAIN

ARGUMENTS
  DOMAIN  name to configure

OPTIONS
  -n, --root=root  root folder for this domain (/var/www/__domain__) (opcional)

DESCRIPTION
  ...

  - Create a new domain in digital ocean
  - Add domain records
  - Create domain nginx configuration in sites-available and link that file into sites-enabled
  - Generate a ssl certificate using cerbot (needs to be installed in your system)
  - Restart nginx

See code: src/commands/add.js

domains help [COMMAND]

display help for domains

USAGE
  $ domains help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

Readme

Keywords

Package Sidebar

Install

npm i do-nginx-domains

Weekly Downloads

26

Version

0.0.25

License

MIT

Unpacked Size

13.4 kB

Total Files

11

Last publish

Collaborators

  • jecovier