Update freenginx.sh
This commit is contained in:
1 parent
56dca3e1c0
commit
d5ba01a111
1 file changed
+11
-11
+11
-11
@@ -2,19 +2,19 @@
|
||||
####################################
|
||||
### START change these variables ###
|
||||
####################################
|
||||
V_NGINX="1.29.4"
|
||||
V_ZLIB="1.3.1"
|
||||
V_PCRE="10.47"
|
||||
V_QSSL="3.5.4"
|
||||
V_MAXM="1.12.2"
|
||||
V_HEAD="0.39"
|
||||
V_NGINX="1.31.5"
|
||||
V_ZLIB="1.3.2"
|
||||
V_PCRE="10.49"
|
||||
V_QSSL="3.6.5"
|
||||
V_MAXM="1.14.1"
|
||||
V_HEAD="0.41"
|
||||
USE_ZSTD=true
|
||||
BUILDROOT="/home/iamdoubz/Gits/freenginx-custom"
|
||||
BUILDROOT="/home/dwdoubet/Gits/free"
|
||||
####################################
|
||||
#### END change these variables ####
|
||||
####################################
|
||||
USE_KTLS=""
|
||||
BUILD_INFO="w/GeoIP2,Brotli,H3,Headers-More,Quantum,debug"
|
||||
BUILD_INFO="w/GeoIP2,Brotli,Zstd,H3,Headers-More,Quantum,debug"
|
||||
|
||||
kernelcheck()
|
||||
{
|
||||
@@ -183,13 +183,13 @@ cd "$CURRENTDIR"
|
||||
echo " "
|
||||
echo " "
|
||||
echo "Configuring freenginx..."
|
||||
make clean &>/dev/null
|
||||
#make clean &>/dev/null
|
||||
./auto/configure --build="$BUILD_INFO" --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log \
|
||||
--http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp \
|
||||
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp \
|
||||
--user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module \
|
||||
--with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module \
|
||||
--with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-mail --with-mail_ssl_module \
|
||||
--with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_realip_module \
|
||||
--with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module \
|
||||
--with-http_v2_module --with-http_v3_module --with-stream --with-select_module --with-poll_module --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module \
|
||||
--with-zlib=../zlib-$V_ZLIB --with-pcre=../pcre2-$V_PCRE --with-openssl=../openssl-$V_QSSL --with-openssl-opt="no-asm no-tests enable-tls1_3$USE_KTLS" \
|
||||
--add-module='../ngx-brotli' --add-module='../nginx-geoip2' --add-module="../headers-more-nginx-module-$V_HEAD" --add-module="../ngx-zstd" \
|
||||
|
||||
Reference in new issue
Block a user