From 074ffa193de55bc46323f601b8dd3006ff870ad6 Mon Sep 17 00:00:00 2001 From: "dave@tiredofit.ca" Date: Fri, 10 Nov 2023 13:57:16 -0800 Subject: [PATCH] Release 6.4.6 - See CHANGELOG.md --- CHANGELOG.md | 6 ++++++ install/etc/cont-init.d/10-nginx | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94c168c..aeda68d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 6.4.6 2023-11-10 + + ### Changed + - Patchup to 6.4.5 + + ## 6.4.5 2023-11-09 ### Added diff --git a/install/etc/cont-init.d/10-nginx b/install/etc/cont-init.d/10-nginx index fce7938..74b6c63 100755 --- a/install/etc/cont-init.d/10-nginx +++ b/install/etc/cont-init.d/10-nginx @@ -25,19 +25,22 @@ if [ ! -f "/tmp/.container/container-restart" ] ; then if var_true "${NGINX_ENABLE_BLOCK_BOTS}" ; then nginx_configure_blockbots ; else sed -i "\|include /etc/nginx/snippets/bot_blocker.conf;|d" /etc/nginx/nginx.conf ; fi nginx_configure_logging nginx_configure_maintenance + if var_true "${NGINX_ENABLE_APPLICATION_CONFIGURATION}"; then - nginx_configure_site_default - if var_true "${NGINX_ENABLE_CREATE_SAMPLE_HTML}" ; then nginx_create_sample_html ; fi if [ -n "${NGINX_WEBROOT_SUFFIX}" ]; then _nginx_webroot_original="${NGINX_WEBROOT}" NGINX_WEBROOT=${NGINX_WEBROOT}${NGINX_WEBROOT_SUFFIX} fi + nginx_configure_site_default + update_template "/etc/nginx/sites.available/*.conf" \ NGINX_LISTEN_PORT \ NGINX_WEBROOT if [ -n "${NGINX_WEBROOT_SUFFIX}" ]; then NGINX_WEBROOT=${_nginx_webroot_original} fi + + if var_true "${NGINX_ENABLE_CREATE_SAMPLE_HTML}" ; then nginx_create_sample_html ; fi if silent grep -q '' /etc/nginx/sites.available/*.conf ; then print_notice "Detected Legacy templates in /etc/nginx/sites.avaialable. Please change '' to {{NGINX_WEBROOT}}" silent sed -i "s||${NGINX_WEBROOT}|g" /etc/nginx/sites.available/*.conf