apache-vhost-from-folder

Description

TODO: documentation, examples

Variables

Name Type Default Description

document_root

string /var/www/html

The document root.

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 apache-vhost-from-folder --help

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

  TODO: documentation, examples

Options:
  --document-root DOCUMENT_ROOT  The document root.
  --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.