nginx-reverse-proxy-vhost-config

Description

TOOD: documentation, examples

Variables

Name Type Default Description

path

string --

The path to the file. Required

proxy_url

string --

The url to proxy. Required

access_log

string --

The access log.

error_log

string --

The error log path and (optional) log level.

proxy_options

list --

A list of options to set in the proxy location block.

server_admin

string --

The server admin email.

server_names

list ['localhost']

The server names.

use_https

boolean False

Whether to use https.

All http traffic will be redirected to https.

Command-line

frecklecute nginx-reverse-proxy-vhost-config --help

Usage: frecklecute nginx-reverse-proxy-vhost-config [OPTIONS] PATH

  TOOD: documentation, examples

Options:
  --proxy-url PROXY_URL           The url to proxy.  [required]
  --access-log PATH               The access log.
  --error-log PATH                The error log path and (optional) log level.
  --proxy-option OPTION_LINE      A list of options to set in the proxy
                                  location block.
  --server-admin EMAIL            The server admin email.
  -n, --server-name SERVER_NAMES  The server names.
  --use-https / --no-use-https    Whether to use https.
  --help                          Show this message and exit.