nginx-vhost-from-folder

Description

TODO: documentation, examples

Resources

Variables

Name Type Default Description

document_root

string /var/www/html

The document root.

gzip_enabled

boolean True

Whether to enable gzip.

hostname

string localhost

The domain name the webserver should listen on.

index

list ['index.html', 'index.htm']

The index file name(s).

server_admin

string --

The server admin email.

use_https

boolean False

Whether to use https (and request a letsencrypt certificate).

Command-line

frecklecute nginx-vhost-from-folder --help

Usage: frecklecute nginx-vhost-from-folder [OPTIONS]

  TODO: documentation, examples

Options:
  --document-root DOCUMENT_ROOT   The document root.
  --gzip-enabled / --gzip-disabled
                                  Whether to enable gzip.
  --hostname HOSTNAME             The domain name the webserver should listen
                                  on.
  --index FILENAME                The index file name(s).
  --server-admin EMAIL            The server admin email.
  --use-https / --no-use-https    Whether to use https (and request a
                                  letsencrypt certificate).
  --help                          Show this message and exit.