diff --git a/scripts/install_nginx.sh b/scripts/install_nginx.sh index c586d76..09173f7 100755 --- a/scripts/install_nginx.sh +++ b/scripts/install_nginx.sh @@ -32,7 +32,7 @@ function nginx_install_menu() { case $NGINX_INSTALLER in 1) echo -e "\nInstalling Nginx from package repository..." - run apt-get install -y --allow-unauthenticated ${NGX_PACKAGE} + run apt-get install -y --allow-unauthenticated ${NGX_PACKAGE} >> lemper.log 2>&1 ;; 2) echo -e "\nInstalling Nginx from source..." @@ -68,14 +68,6 @@ function nginx_install_menu() { if [[ -f /usr/lib/nginx/modules/ngx_pagespeed.so && ! -f /etc/nginx/modules-available/mod-pagespeed.conf ]]; then run bash -c 'echo "load_module \"/usr/lib/nginx/modules/ngx_pagespeed.so\";" > \ /etc/nginx/modules-available/mod-pagespeed.conf' - - # Secure PageSpeed Admin - PASSHASH="" - if [[ -n $(which php) ]]; then - PHPCMD="echo crypt(\"${PASSWORD}\", base64_encode(\"${PASSWORD}\"));" - PASSHASH=$(php -r "${PHPCMD}") - fi - echo "${USERNAME}:${PASSHASH}" >> /srv/.htpasswd fi if [[ -f /usr/lib/nginx/modules/ngx_http_geoip_module.so && ! -f /etc/nginx/modules-available/mod-http-geoip.conf ]]; then diff --git a/scripts/install_nginx_from_source.sh b/scripts/install_nginx_from_source.sh index c0d59c4..f4f0191 100755 --- a/scripts/install_nginx_from_source.sh +++ b/scripts/install_nginx_from_source.sh @@ -948,7 +948,7 @@ with --no-deps-check." fi configure_args=("${configure_args[@]}" "--prefix=$install_dir/nginx" - "--with-ipv6" + "--with-ipv6" #deprecated in version 1.15 "--with-http_v2_module" "${add_modules[@]}") if [ "$BUILD_TYPE" = "Debug" ]; then diff --git a/scripts/install_tools.sh b/scripts/install_tools.sh index 60fafec..6eb44a0 100755 --- a/scripts/install_tools.sh +++ b/scripts/install_tools.sh @@ -36,7 +36,8 @@ cat <<- _EOF_
If you see this page, the nginx web server is successfully installed using LEMPer. Further configuration is required.
+If you see this page, the nginx web server is successfully installed using +LEMPer. Further configuration is required.
For online documentation and support please refer to
nginx.org.
@@ -45,7 +46,9 @@ LEMPer and ngxTools support is available at
Thank you for using nginx, ngxTools, and LEMPer.
-Generated using LEMPer from Nginx vHost Tool, a simple nginx web server management tool.
+Generated using LEMPer from +Nginx vHost Tool, a simple nginx web +server management tool.