fix(SCRIPT): disable ssl configs without erroneous err msg
This commit is contained in:
parent
639296a2b1
commit
ce95e94092
@ -106,7 +106,7 @@ if [ -f "/certs/fullchain.pem" ]; then
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# ensure SSL configurations are disabled
|
# ensure SSL configurations are disabled
|
||||||
mv /etc/nginx/ssl-config/*.conf /etc/nginx/ssl-config/*.conf.disabled
|
for f in /etc/nginx/ssl-config/*; do mv "$f" "${f%%.*}.conf.disabled"; done
|
||||||
# if using default setup, ensure secure server block disabled
|
# if using default setup, ensure secure server block disabled
|
||||||
if [ -f "/etc/nginx/sites/note" ]; then
|
if [ -f "/etc/nginx/sites/note" ]; then
|
||||||
if [ -f "/etc/nginx/sites/05-test_secured.conf" ]; then
|
if [ -f "/etc/nginx/sites/05-test_secured.conf" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user