NGRP
A handy tool that configures nginx reverse proxy for you
Installation
pip install ngrp
Usage
Usage: ngrp [OPTIONS] COMMAND [ARGS]...
Nginx domains configuration tool.
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
add Add and enable a domain configuration.
disable Disable configuration for given domain.
enable Enable configuration for given domain.
reload Reload nginx configuration.
ngrp supports multiple reverse proxy templates.
Usage: ngrp add [OPTIONS] COMMAND [ARGS]...
Add and enable a domain configuration.
Options:
--help Show this message and exit.
Commands:
http Redirect DOMAIN traffic to 127.0.0.1:PORT
https Redirect DOMAIN traffic to 127.0.0.1:PORT
static-http Serve content from WEBSITE_ROOT on DOMAIN
static-https Serve content from WEBSITE_ROOT on DOMAIN
To add a HTTP reverse proxy do the following (etherpad running on port 9001, proxied to etherpad.example.com):
ngrp add http 9001 etherpad.example.com
For a change in configuration to take effect, nginx config needs to be reloaded:
ngrp reload
Metadata
Release files for ngrp 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ngrp-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for ngrp-0.3.3-py3-none-any.whl |
Release files / ngrp-0.3.3-py3-none-any.whl
| Download URL | ngrp-0.3.3-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7dacda4cc3fb4904472a5b002a42f174cfc3575c5b6b5bb457f3ac3e8f682e22
|
|
BLAKE2b-256 checksum How to use checksums |
361d0509a401ae11b20b6f887d0220907a2df2e01f32fc139128b69c8d57056c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ngrp 0.3.3
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.