Skip to content

Commit

Permalink
Release 6.2.5 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Oct 5, 2022
1 parent d705d65 commit d04f6e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 6.2.5 2022-10-05 <dave at tiredofit dot ca>

### Changed
- Fix path for update_template


## 6.2.4 2022-10-05 <dave at tiredofit dot ca>

### Changed
Expand Down
6 changes: 3 additions & 3 deletions install/etc/cont-init.d/10-nginx
Original file line number Diff line number Diff line change
Expand Up @@ -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 '<WEBROOT>' /etc/nginx/sites.available/*.conf ; then
print_notice "Detected Legacy templates in /etc/nginx/sites.avaialble. Please change '<WEBROOT>' to {{NGINX_WEBROOT}}"
print_notice "Detected Legacy templates in /etc/nginx/sites.avaialable. Please change '<WEBROOT>' to {{NGINX_WEBROOT}}"
silent sed -i "s|<WEBROOT>|${NGINX_WEBROOT}|g" /etc/nginx/sites.available/*.conf
fi
if silent grep -q '<LISTEN_PORT>' /etc/nginx/sites.available/*.conf 2>&1 ; then
print_notice "Detected Legacy templates in /etc/nginx/sites.avaialble. Please change '<LISTEN_PORT>' to {{NGINX_LISTEN_PORT}}"
print_notice "Detected Legacy templates in /etc/nginx/sites.avaialable. Please change '<LISTEN_PORT>' to {{NGINX_LISTEN_PORT}}"
silent sed -i "s|<LISTEN_PORT>|${NGINX_LISTEN_PORT}|g" /etc/nginx/sites.available/*.conf
fi

Expand Down

0 comments on commit d04f6e3

Please sign in to comment.