mirror of
https://github.com/joglomedia/LEMPer.git
synced 2026-04-04 19:58:18 +00:00
Add Lua config + update configs
This commit is contained in:
54
.env.dist
54
.env.dist
@@ -7,11 +7,11 @@
|
||||
# Auto install, true for auto installation,
|
||||
# false for manual or guided installation.
|
||||
AUTO_INSTALL=true
|
||||
FORCE_INSTALL=true
|
||||
FORCE_INSTALL=false
|
||||
|
||||
# Cleanup existing LEMP / LAMP stack installation.
|
||||
AUTO_REMOVE=true
|
||||
FORCE_REMOVE=true
|
||||
FORCE_REMOVE=false
|
||||
|
||||
# Dry run install, true for testing only.
|
||||
DRYRUN=false
|
||||
@@ -26,7 +26,7 @@ ENABLE_SWAP=true
|
||||
LOGGING=true
|
||||
|
||||
# Path to the install log file.
|
||||
LOG_FILE="./lemper_install.log"
|
||||
LOG_FILE="./install.log"
|
||||
|
||||
# LEMPer build directorty, will be removed after installation.
|
||||
BUILD_DIR="/tmp/lemper"
|
||||
@@ -34,7 +34,7 @@ BUILD_DIR="/tmp/lemper"
|
||||
[lemper]
|
||||
# LEMP stack environment.
|
||||
# Use development for local environment or production for live environment.
|
||||
ENVIRONMENT="production"
|
||||
ENVIRONMENT="development"
|
||||
|
||||
# In production, server hostname must be valid FQDN format (e.g. hostname.domain.ext).
|
||||
SERVER_HOSTNAME=""
|
||||
@@ -93,14 +93,14 @@ NGINX_WITH_CUSTOMSSL=false
|
||||
|
||||
# Available custom SSL version: e.g. openssl-1.1.1g, libressl-3.0.0
|
||||
# leave empty to use stack default OpenSSL.
|
||||
NGINX_CUSTOMSSL_VERSION="openssl-1.1.1g"
|
||||
NGINX_CUSTOMSSL_VERSION="openssl-1.1.1l"
|
||||
|
||||
# Build with PCRE JIT.
|
||||
NGINX_WITH_PCRE=false
|
||||
|
||||
# PCRE JIT version (requires PCRE 8.20 and latest): e.g. pcre-8.44, pcre2-10.35
|
||||
# get the PCRE version from here https://ftp.pcre.org/pub/pcre/
|
||||
NGINX_PCRE_VERSION="pcre-8.44"
|
||||
# PCRE JIT version (requires PCRE 8.20 and latest): e.g. 8.44, 8.45
|
||||
# get the PCRE version from here http://www.pcre.org/
|
||||
NGINX_PCRE_VERSION="8.45"
|
||||
|
||||
# Extra parameters,
|
||||
# requires Nginx installation from source.
|
||||
@@ -120,15 +120,27 @@ NGX_HTTP_GEOIP=true
|
||||
# GeoIP2 with MaxMind GeoLite2 database. GeoLite2 license key is required,
|
||||
# Get it from here https://www.maxmind.com/en/geolite2/signup
|
||||
NGX_HTTP_GEOIP2=false
|
||||
GEOLITE2_LICENSE_KEY=""
|
||||
GEOLITE2_LICENSE_KEY="zHccSDDcvqS4A0Ps"
|
||||
|
||||
NGX_HTTP_HEADERS_MORE=true
|
||||
NGX_HTTP_IMAGE_FILTER=true
|
||||
NGX_HTTP_LUA=false
|
||||
NGX_HTTP_MEMCACHED=false
|
||||
NGX_HTTP_NAXSI=false
|
||||
NGX_HTTP_NDK=false
|
||||
NGX_HTTP_JS=false
|
||||
|
||||
# Build with Lua JIT module.
|
||||
NGX_HTTP_LUA=false
|
||||
|
||||
# Lua JIT module requires LuaJIT 2.1 and latest: e.g. v2.1-20211210, v2.1-20220111
|
||||
# LuaJIT2 version from here https://github.com/openresty/luajit2/tags
|
||||
# Lua Resty Core version from here https://github.com/openresty/lua-resty-core
|
||||
# Lua Resty LRU Cache version from here https://github.com/openresty/lua-resty-lrucache
|
||||
LUA_JIT_VERSION="v2.1-20220111"
|
||||
LUA_NGINX_MODULE_VERSION="v0.10.20"
|
||||
LUA_RESTY_CORE_VERSION="v0.1.22"
|
||||
LUA_RESTY_LRUCACHE_VERSION="v0.11"
|
||||
|
||||
NGX_HTTP_PASSENGER=false
|
||||
NGX_HTTP_REDIS2=false
|
||||
NGX_HTTP_SUBS_FILTER=true
|
||||
@@ -148,17 +160,17 @@ NGINX_RATE_LIMIT_REQUESTS=100
|
||||
[php]
|
||||
INSTALL_PHP=true
|
||||
|
||||
# It is highly recommended to install PHP version 7.4 or greater.
|
||||
# It is highly recommended to install PHP version 7.4 or greater.
|
||||
# Installing multiple versions is supported, separate version by space.
|
||||
PHP_VERSIONS="7.4 8.0"
|
||||
PHP_VERSIONS="7.4 8.0 8.1"
|
||||
|
||||
# Additional PHP modules (extensions) to install.
|
||||
# Additional PHP modules (extensions) to install.
|
||||
# Installing multiple extension is supported, separate version by space.
|
||||
# Type only the extension name (without php*-).
|
||||
PHP_EXTENSIONS="geoip gnupg imagick igbinary json mcrypt memcache memcached msgpack openswoole libsodium"
|
||||
|
||||
# DO NOT CHANGE
|
||||
DEFAULT_PHP_VERSION="7.4"
|
||||
DEFAULT_PHP_VERSION="8.0"
|
||||
|
||||
[php-loader]
|
||||
# PHP Loader is a PHP extension (module) that enables PHP
|
||||
@@ -192,8 +204,8 @@ INSTALL_IMAGEMAGICK=true
|
||||
# Available ImageMagick & PHP module installer: repo | source
|
||||
IMAGEMAGICK_INSTALLER="repo"
|
||||
|
||||
# Available ImageMagick version: 6.9.10-62 | 7.1.0-8 | latest
|
||||
IMAGEMAGICK_VERSION="7.1.0-8"
|
||||
# Available ImageMagick version: 6.9.12-36 | 7.1.0-21 | latest
|
||||
IMAGEMAGICK_VERSION="7.1.0-21"
|
||||
|
||||
[mysql]
|
||||
INSTALL_MYSQL=true
|
||||
@@ -236,11 +248,11 @@ INSTALL_MONGODB=false
|
||||
MONGODB_VERSION="5.0"
|
||||
|
||||
# MongoDB default admin account.
|
||||
MONGODB_ADMIN_USER="lemperdb"
|
||||
MONGODB_ADMIN_USER="lempermo"
|
||||
MONGODB_ADMIN_PASSWORD=""
|
||||
|
||||
[redis]
|
||||
INSTALL_REDIS=false
|
||||
INSTALL_REDIS=true
|
||||
|
||||
# Available installer: repo | source.
|
||||
REDIS_INSTALLER="repo"
|
||||
@@ -248,7 +260,7 @@ REDIS_INSTALLER="repo"
|
||||
# Available Redis version: 6.2.5 or stable.
|
||||
REDIS_VERSION="stable"
|
||||
|
||||
# Enable pass authentication.
|
||||
# Enable password authentication.
|
||||
REDIS_REQUIRE_PASSWORD=false
|
||||
REDIS_PASSWORD=""
|
||||
|
||||
@@ -266,8 +278,8 @@ VSFTPD_VERSION="3.0.5"
|
||||
|
||||
[mailer]
|
||||
# Install basic Mailer based on Postfix & Dovecot.
|
||||
INSTALL_MAILER=false
|
||||
INSTALL_SPFDKIM=false
|
||||
INSTALL_MAILER=true
|
||||
INSTALL_SPFDKIM=true
|
||||
|
||||
# Sender domain is required, default sets to hostname.
|
||||
# Ensure that the hostname/sender domain already pointed to this server IP address.
|
||||
|
||||
Reference in New Issue
Block a user