vhost-manager/etc/config.dist

67 lines
1.9 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/bash
# 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.4
MOD_FCGI=mod_fastcgi.c # mod_fcgid.c
MOD_HTTP2=mod_http2.c
# Available PHP versions
# It's possible to add or remove a version
# using the same logic
PHP_VERSIONS="8.1 8.0 7.4 7.3 8.0 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_FPM74_POOL_PATH=/etc/php/7.4/fpm/pool.d
PHP_FPM81_POOL_PATH=/etc/php/8.1/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_FPM80_SERVICE=php8.0-fpm
PHP_FPM81_SERVICE=php8.1-fpm
PHP_56_LABEL="PHP 5.6 (outdated)"
PHP_70_LABEL="PHP 7.0 (outdated)"
PHP_71_LABEL="PHP 7.1 (outdated)"
PHP_72_LABEL="PHP 7.2 (outdated)"
PHP_73_LABEL="PHP 7.3 ((outdated))"
PHP_74_LABEL="PHP 7.4 (security support until 28 Nov 2022)"
PHP_80_LABEL="PHP 8.0 (recommended)"
PHP_81_LABEL="PHP 8.1"