vhost-manager/etc/config.dist

67 lines
1.9 KiB
Plaintext
Raw Permalink Normal View History

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
2020-12-05 13:05:52 +01:00
DEFAULT_SHELL=/bin/bash
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
PHP_BIN=/usr/bin/php7.4
2019-08-05 15:21:36 +02:00
2020-12-05 13:13:33 +01:00
MOD_FCGI=mod_fastcgi.c # mod_fcgid.c
2021-11-29 11:53:20 +01:00
MOD_HTTP2=mod_http2.c
2020-12-05 13:13:33 +01:00
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
2021-12-02 16:38:11 +01:00
PHP_VERSIONS="8.1 8.0 7.4 7.3 8.0 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
PHP_FPM74_POOL_PATH=/etc/php/7.4/fpm/pool.d
2021-12-02 16:38:51 +01:00
PHP_FPM81_POOL_PATH=/etc/php/8.1/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
PHP_FPM80_SERVICE=php8.0-fpm
2021-12-02 16:38:51 +01:00
PHP_FPM81_SERVICE=php8.1-fpm
2019-09-12 13:08:14 +02:00
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)"
2021-12-02 16:38:11 +01:00
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"