feat: add logging when hsts nginx config is not using built-in template

Also updates logging for the app-config template.
This commit is contained in:
Jose Diaz-Gonzalez
2024-07-13 16:42:11 -04:00
parent a541564aa7
commit d3e5b573d7
2 changed files with 6 additions and 1 deletions

View File

@@ -226,6 +226,7 @@ nginx_build_config() {
CUSTOM_NGINX_TEMPLATE="$(plugn trigger nginx-app-template-source "$APP" "app-config")"
if [[ -n "$CUSTOM_NGINX_TEMPLATE" ]]; then
local NGINX_TEMPLATE_SOURCE="plugin-supplied"
NGINX_TEMPLATE="$CUSTOM_NGINX_TEMPLATE"
fi