This is a simple tool to manage nginx service on a server. This tool is similar to apachectl but for nginx. The important feature of this tool is ability to list vhosts configured on a nginx server.
<h2>Download/Installation</h2>
```
wget https://raw.githubusercontent.com/fooltruth/nginxctl/master/nginxCtl.py -O nginxctl.py
python nginxctl.py -S
```
<h2>Usage</h2>
```
python nginxctl.py -h
Usage: nginxctl.py [options]
Options:
-S list nginx vhosts
-t configuration test
-k start|stop|status|restart|fullstatus
-v version
-h help
```
Here is an example of running the option to discover virtual hosts
```
# python nginxctl.py -S
nginx vhost configuration:
*:80; is a Virtualhost
port 80; localhost (/etc/nginx/sites-enabled/default:28)
alias example.com
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
```
Metadata
Release files for nginxctl 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nginxctl-1.1.2.tar.gz | 17.0 kB | Without provenance | Details for nginxctl-1.1.2.tar.gz |
Release files / nginxctl-1.1.2.tar.gz
| Download URL | nginxctl-1.1.2.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f1e753b91223669388ad005acce97a2b00ca0837d745d40e8501f1309d53c6d
|
|
BLAKE2b-256 checksum How to use checksums |
7245936e0805da71fcaf0e5a1f9256f757f5fa95057e391687ba067ef2d52926
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for nginxctl 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.