From 4fb6e56fe674af4e26332d46c101076dc98cb4c9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 20 Jul 2023 21:35:43 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- inc/sites.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults.inc b/defaults.inc index 4b230f14..078d33dc 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VERS='4.10.17-07202023' +VERS='4.10.20-07202023' noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns ' CERT_DAEMON='/snap/bin/certbot' diff --git a/inc/sites.inc b/inc/sites.inc index a28a8877..3a6dc59d 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -426,7 +426,7 @@ NEWSITE(){ sed -i "s/<>/${HSTS}/g" ${nginxconfig} sed -i "s/<>/${EXPLOITS}/g" ${nginxconfig} sed -i "s/<>/${SECURE}/g" ${nginxconfig} - sed -i "s/<>/${NM_CERTPATH}/g" ${nginxconfig} + sed -i "s%<>%${NM_CERTPATH}%g" ${nginxconfig} fi if [ "${CREATE_SSL}" = "yes" ]; then