Skip to content

Commit

Permalink
improve LibreSSL declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtuBox committed Apr 23, 2024
1 parent 113bf67 commit c625f02
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions nginx-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
##################################
Expand Down

0 comments on commit c625f02

Please sign in to comment.