Skip to main content

A handy tool that configures nginx reverse proxy for you

Project description

NGRP

PyPI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ngrp-0.3.3-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file ngrp-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for ngrp-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7dacda4cc3fb4904472a5b002a42f174cfc3575c5b6b5bb457f3ac3e8f682e22
MD5 153963d8e5b7f0ffa64ca40128c7e149
BLAKE2b-256 361d0509a401ae11b20b6f887d0220907a2df2e01f32fc139128b69c8d57056c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page