From d04f6e3107bd3eb1b76493227c3c634ee83a016d Mon Sep 17 00:00:00 2001 From: "dave@tiredofit.ca" Date: Wed, 5 Oct 2022 10:28:16 -0700 Subject: [PATCH] Release 6.2.5 - See CHANGELOG.md --- CHANGELOG.md | 6 ++++++ install/etc/cont-init.d/10-nginx | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 43c9c2a..36c6748 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 6.2.5 2022-10-05 + + ### Changed + - Fix path for update_template + + ## 6.2.4 2022-10-05 ### Changed diff --git a/install/etc/cont-init.d/10-nginx b/install/etc/cont-init.d/10-nginx index e44a7c4..5842d4b 100755 --- a/install/etc/cont-init.d/10-nginx +++ b/install/etc/cont-init.d/10-nginx @@ -28,15 +28,15 @@ if [ ! -f "/tmp/.container/container-restart" ] ; then 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 - update_template "/etc/nginx.sites.available/*.conf" \ + update_template "/etc/nginx/sites.available/*.conf" \ NGINX_LISTEN_PORT \ NGINX_WEBROOT if silent grep -q '' /etc/nginx/sites.available/*.conf ; then - print_notice "Detected Legacy templates in /etc/nginx/sites.avaialble. Please change '' to {{NGINX_WEBROOT}}" + 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 fi if silent grep -q '' /etc/nginx/sites.available/*.conf 2>&1 ; then - print_notice "Detected Legacy templates in /etc/nginx/sites.avaialble. Please change '' to {{NGINX_LISTEN_PORT}}" + print_notice "Detected Legacy templates in /etc/nginx/sites.avaialable. Please change '' to {{NGINX_LISTEN_PORT}}" silent sed -i "s||${NGINX_LISTEN_PORT}|g" /etc/nginx/sites.available/*.conf fi