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 hashes)

Uploaded Python 3

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