vhost-manager/etc/config.dist

58 lines
1.6 KiB
Plaintext

# HTTP port
WEB_HTTP_PORT=80
# HTTPS port
WEB_HTTPS_PORT=443
# Address to bind
WEB_BIND_ADDRESS="*"
# User group
SYSTEM_USER_GROUP=webgroup
# Default HTTPS certificate (Let's Encrypt)
WEB_HTTPS_DEFAULT_CERT_PEM=/etc/letsencrypt/live/example.com/cert.pem
WEB_HTTPS_DEFAULT_CERT_PRIVKEY=/etc/letsencrypt/live/example.com/privkey.pem
WEB_HTTPS_DEFAULT_CERT_CHAIN=/etc/letsencrypt/live/example.com/chain.pem
# The skel of the home directory
SKEL_PATH=/etc/skel
# Default user shell
DEFAULT_SHELL=/bin/zsh
# The root directory of all websites
WEB_ROOT_PATH=/var/www/service-web/www
# The directory of logs
WEB_LOG_PATH=/services/web/logs
# The path for the vhosts of Apache
APACHE_VHOST_SITES_AVAILABLE_PATH=/etc/apache2/sites-available
APACHE_VHOST_SITES_ENABLED_PATH=/etc/apache2/sites-enabled
# The path of the php binary
PHP_BIN=/usr/bin/php7.3
# Available PHP versions
# It's possible to add or remove a version
# using the same logic
PHP_VERSIONS="7.3 7.2 7.1 7.0 7.4 5.6"
PHP_FPM56_POOL_PATH=/etc/php5/fpm/pool.d
PHP_FPM70_POOL_PATH=/etc/php/7.0/fpm/pool.d
PHP_FPM71_POOL_PATH=/etc/php/7.1/fpm/pool.d
PHP_FPM72_POOL_PATH=/etc/php/7.2/fpm/pool.d
PHP_FPM73_POOL_PATH=/etc/php/7.3/fpm/pool.d
PHP_FPM74_POOL_PATH=/etc/php/7.4/fpm/pool.d
PHP_FPM56_SERVICE=php5-fpm
PHP_FPM70_SERVICE=php7.0-fpm
PHP_FPM71_SERVICE=php7.1-fpm
PHP_FPM72_SERVICE=php7.2-fpm
PHP_FPM73_SERVICE=php7.3-fpm
PHP_FPM74_SERVICE=php7.4-fpm
PHP_56_LABEL="PHP 5.6 (outdated)"
PHP_70_LABEL="PHP 7.0 (outdated)"
PHP_71_LABEL="PHP 7.1 (security support until 1 Dec 2019)"
PHP_72_LABEL="PHP 7.2"
PHP_73_LABEL="PHP 7.3 (recommended)"
PHP_74_LABEL="PHP 7.4 (dev only)"