A handy tool that configures nginx reverse proxy for you
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ngrp-0.3.3-py3-none-any.whl.
File metadata
- Download URL: ngrp-0.3.3-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dacda4cc3fb4904472a5b002a42f174cfc3575c5b6b5bb457f3ac3e8f682e22
|
|
| MD5 |
153963d8e5b7f0ffa64ca40128c7e149
|
|
| BLAKE2b-256 |
361d0509a401ae11b20b6f887d0220907a2df2e01f32fc139128b69c8d57056c
|