From c625f02a7d469b96fa3bc2c0d7b641f6af093fdb Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 23 Apr 2024 02:05:10 +0200 Subject: [PATCH] improve LibreSSL declaration --- nginx-build.sh | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/nginx-build.sh b/nginx-build.sh index bf0046a..b8e2ffd 100755 --- a/nginx-build.sh +++ b/nginx-build.sh @@ -274,6 +274,8 @@ fi if [ "$LIBRESSL" = "y" ]; then NGX_SSL_LIB="--with-openssl=../libressl" + NGX_QUIC="--with-http_v3_module" + QUIC_VALID="YES" LIBRESSL_VALID="YES" OPENSSL_OPT="" else @@ -284,31 +286,14 @@ else OPENSSL_OPT="enable-tls1_3" fi fi + NGX_QUIC="" + QUIC_VALID="NO" NGX_SSL_LIB="" OPENSSL_VALID="from system" LIBSSL_DEV="libssl-dev" fi -################################## -# Set LibreSSL HTTP/3 QUIC -################################## - -if "$LIBRESSL_VALID"; then - NGX_QUIC="--with-http_v3_module" - QUIC_VALID="YES" -else - NGX_QUIC="" - QUIC_VALID="NO" -fi - -################################## -# Set Pagespeed module -################################## - -NGX_PAGESPEED="" -PAGESPEED_VALID="NO" - ################################## # Set Plesk configuration ##################################