This commit is contained in:
2024-08-15 21:45:35 -05:00
parent d257a34c5f
commit f16acc23da
2 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='5.1.133-08152024'
VERS='5.1.134-08152024'
NM_BETA=false
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix '

View File

@@ -79,10 +79,10 @@ NEWCERT(){
if [ -d ${NM_CERTPATH}/live/${MAIN_CERT} ]; then
echo -e "$(date +%Y-%m-%d-%H-%M-%S) - ${NEW_CERT}" >> ${NM_LOGFOLDER}/cert.requests
if [ -f ${NM_NGINXPATH}/sites-enabled/${MAIN_CERT}.conf ]; then
sed -i "s/#ssl_certificate/ssl_certificate/g" ${NM_NGINXPATH}/sites-enabled/${MAIN_CERT}.conf
sed -i "s/#listen 443/listen 443/g" ${NM_NGINXPATH}/sites-enabled/${MAIN_CERT}.conf
sed -i "s/#include conf.d\/include\/ssl-ciphers.conf/include conf.d\/include\/ssl-ciphers.conf/g" ${NM_NGINXPATH}/sites-enabled/${MAIN_CERT}.conf
sed -i "s/#include conf.d\/include\/force-ssl.conf/include conf.d\/include\/force-ssl.conf/g" ${NM_NGINXPATH}/sites-enabled/${MAIN_CERT}.conf
sed -i "s/#ssl_certificate/ssl_certificate/g" ${NM_NGINXPATH}/sites-available/${MAIN_CERT}.conf
sed -i "s/#listen 443/listen 443/g" ${NM_NGINXPATH}/sites-available/${MAIN_CERT}.conf
sed -i "s/#include conf.d\/include\/ssl-ciphers.conf/include conf.d\/include\/ssl-ciphers.conf/g" ${NM_NGINXPATH}/sites-available/${MAIN_CERT}.conf
sed -i "s/#include conf.d\/include\/force-ssl.conf/include conf.d\/include\/force-ssl.conf/g" ${NM_NGINXPATH}/sites-available/${MAIN_CERT}.conf
DIVIDER true
# if [ "${NEWSITE}" != "true" ]; then
# echo -e -n "${idsCL[LightCyan]}Restart NGINX on all Nodes (Y/n): ${idsCL[Default]}"