New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

am-nginx-vhost

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

am-nginx-vhost

[![NPM Stable Version][npm-stable-version-image]][npm-url] [![Build Status][travis-master-image]][travis-url] [![Test Coverage][codecov-image]][codecov-url-master] [![Dependency Status][david-image]][david-url-master] [![Node.js Version][node-version-imag

  • 2.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

am-nginx-vhost

NPM Stable Version Build Status Test Coverage Dependency Status Node.js Version License

Install

npm i am-nginx-vhost -g

Usage

vhost <cmd> [args]

Commands:
  init    init
  add     add vhost [host] [port]
  remove  remove vhost [host]

Options:
  --help  Show help

Example:
  vhost --help
  sudo vhost init
  sudo vhost add -h test.example.org -p 1234
  sudo vhost remove -h test.example.org

Example

am@135775:~$ sudo vhost add -h blog.mokr.org -p 2368
dns mokr.org nameservers: dns2.yandex.ru dns1.yandex.ru
dns blog.mokr.org public IP: 85.143.221.54
dns mokr.org A record blog 85.143.221.54 added
nginx vhost blog.mokr.org config written to /etc/nginx/sites-available/blog.mokr.org
nginx vhost blog.mokr.org enabled /etc/nginx/sites-enabled/blog.mokr.org
nginx test: ok
nginx reload: ok
letsencrypt ensure dir /var/www/letsencrypt
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for blog.mokr.org
Using the webroot path /var/www/letsencrypt for all unmatched domains.
Waiting for verification...
Cleaning up challenges
IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at
   /etc/letsencrypt/live/blog.mokr.org/fullchain.pem. Your cert will
   expire on 2017-09-10. To obtain a new or tweaked version of this
   certificate in the future, simply run certbot again. To
   non-interactively renew *all* of your certificates, run "certbot
   renew"
 - If you like Certbot, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le

letsencrypt blog.mokr.org certificate created
nginx vhost blog.mokr.org config written to /etc/nginx/sites-available/blog.mokr.org
nginx test: ok
nginx reload: ok

FAQs

Package last updated on 10 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc