2019-08-05 15:21:36 +02:00
|
|
|
# HTTP port
|
|
|
|
WEB_HTTP_PORT=80
|
|
|
|
# HTTPS port
|
|
|
|
WEB_HTTPS_PORT=443
|
|
|
|
|
2019-09-12 12:56:40 +02:00
|
|
|
# Address to bind
|
|
|
|
WEB_BIND_ADDRESS="*"
|
|
|
|
|
2019-08-05 15:21:36 +02:00
|
|
|
# User group
|
|
|
|
SYSTEM_USER_GROUP=webgroup
|
|
|
|
|
|
|
|
# Default HTTPS certificate (Let's Encrypt)
|
2019-08-05 10:15:40 +02:00
|
|
|
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
|
|
|
|
|
2019-08-05 15:21:36 +02:00
|
|
|
# The skel of the home directory
|
2019-08-01 10:19:13 +02:00
|
|
|
SKEL_PATH=/etc/skel
|
2019-08-05 10:15:40 +02:00
|
|
|
|
2019-08-05 15:21:36 +02:00
|
|
|
# Default user shell
|
2019-08-01 10:19:13 +02:00
|
|
|
DEFAULT_SHELL=/bin/zsh
|
2019-08-05 10:15:40 +02:00
|
|
|
|
2019-08-05 15:21:36 +02:00
|
|
|
# The root directory of all websites
|
2019-08-01 10:19:13 +02:00
|
|
|
WEB_ROOT_PATH=/var/www/service-web/www
|
2019-08-05 15:21:36 +02:00
|
|
|
|
|
|
|
# The directory of logs
|
2019-08-01 10:19:13 +02:00
|
|
|
WEB_LOG_PATH=/services/web/logs
|
2019-08-05 10:15:40 +02:00
|
|
|
|
2019-08-05 15:21:36 +02:00
|
|
|
# The path for the vhosts of Apache
|
2019-08-01 10:19:13 +02:00
|
|
|
APACHE_VHOST_SITES_AVAILABLE_PATH=/etc/apache2/sites-available
|
|
|
|
APACHE_VHOST_SITES_ENABLED_PATH=/etc/apache2/sites-enabled
|
2019-08-05 10:15:40 +02:00
|
|
|
|
2019-08-05 15:21:36 +02:00
|
|
|
# The path of the php binary
|
2020-12-04 13:17:54 +01:00
|
|
|
PHP_BIN=/usr/bin/php7.4
|
2019-08-05 15:21:36 +02:00
|
|
|
|
|
|
|
# Available PHP versions
|
2019-08-05 15:44:18 +02:00
|
|
|
# It's possible to add or remove a version
|
2019-08-05 15:21:36 +02:00
|
|
|
# using the same logic
|
2020-12-04 13:17:54 +01:00
|
|
|
PHP_VERSIONS="8.0 7.4 7.3 7.2 7.1 7.0 7.4 5.6"
|
2019-08-01 10:19:13 +02:00
|
|
|
PHP_FPM56_POOL_PATH=/etc/php5/fpm/pool.d
|
2019-09-12 13:08:14 +02:00
|
|
|
PHP_FPM70_POOL_PATH=/etc/php/7.0/fpm/pool.d
|
2019-08-01 10:19:13 +02:00
|
|
|
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
|
2019-09-12 13:08:14 +02:00
|
|
|
PHP_FPM74_POOL_PATH=/etc/php/7.4/fpm/pool.d
|
2020-12-04 13:17:54 +01:00
|
|
|
PHP_FPM74_POOL_PATH=/etc/php/7.4/fpm/pool.d
|
|
|
|
PHP_FPM80_POOL_PATH=/etc/php/8.0/fpm/pool.d
|
2019-08-01 10:19:13 +02:00
|
|
|
PHP_FPM56_SERVICE=php5-fpm
|
2019-09-12 13:08:14 +02:00
|
|
|
PHP_FPM70_SERVICE=php7.0-fpm
|
2019-08-01 10:19:13 +02:00
|
|
|
PHP_FPM71_SERVICE=php7.1-fpm
|
|
|
|
PHP_FPM72_SERVICE=php7.2-fpm
|
|
|
|
PHP_FPM73_SERVICE=php7.3-fpm
|
2019-09-12 13:08:14 +02:00
|
|
|
PHP_FPM74_SERVICE=php7.4-fpm
|
2020-12-04 13:17:54 +01:00
|
|
|
PHP_FPM80_SERVICE=php8.0-fpm
|
2019-09-12 13:08:14 +02:00
|
|
|
PHP_56_LABEL="PHP 5.6 (outdated)"
|
|
|
|
PHP_70_LABEL="PHP 7.0 (outdated)"
|
2020-12-04 13:17:54 +01:00
|
|
|
PHP_71_LABEL="PHP 7.1 (outdated)"
|
|
|
|
PHP_72_LABEL="PHP 7.2 (outdated)"
|
|
|
|
PHP_73_LABEL="PHP 7.3 (security support until 6 Dec 2021)"
|
|
|
|
PHP_74_LABEL="PHP 7.4 (recommended)"
|
|
|
|
PHP_80_LABEL="PHP 8.0"
|