diff --git a/etc/config.dist b/etc/config.dist index bbf7e63..539fb95 100644 --- a/etc/config.dist +++ b/etc/config.dist @@ -1,20 +1,38 @@ -WEB_HTTP_PORT=81 -WEB_HTTPS_PORT=444 +# HTTP port +WEB_HTTP_PORT=80 +# HTTPS port +WEB_HTTPS_PORT=443 + +# 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 a version or remove a version +# using the same logic PHP_VERSIONS="7.3 7.2 7.1 5.6" PHP_FPM56_POOL_PATH=/etc/php5/fpm/pool.d PHP_FPM71_POOL_PATH=/etc/php/7.1/fpm/pool.d @@ -28,5 +46,3 @@ PHP_56_LABEL="PHP 5.6 (not recommended)" PHP_71_LABEL="PHP 7.1" PHP_72_LABEL="PHP 7.2" PHP_73_LABEL="PHP 7.3 (recommended)" - -SYSTEM_USER_GROUP=webgroup