Vhostm

Latest version: v1.1

Safety actively analyzes 613544 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1

Corrected hosts file format

1.0

vhostm improves on the old spinup tool significantly. The new vhostm tool is organized more modularly and version 1.0 stores data in its own config file so it can be viewed and manipulated more simply. Here is a brief overview of the new tool:

bash
$ sudo pip install vhostm

$ sudo vhostm add -d test.com -p 3000 -s ./static
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful

$ sudo vhostm list
Domain | Address:Port | Static Root
test.com | 127.0.0.1:3000 | /usr/home/phil/projects/personal/vhostm/static

$ sudo vhostm del -d test.com
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful

$ sudo vhostm list
Domain | Address:Port | Static Root

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.