We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9d50fc0 + 4cdde05 commit 36ff7ddCopy full SHA for 36ff7dd
app/letsencrypt_service
@@ -92,7 +92,7 @@ function cleanup_links {
92
for disabled_domain in "${DISABLED_DOMAINS[@]}"; do
93
for extension in .crt .key .dhparam.pem .chain.pem; do
94
file="${disabled_domain}${extension}"
95
- if [[ -n "${file// }" ]] && [[ -f "/etc/nginx/certs/${file}" ]]; then
+ if [[ -n "${file// }" ]] && [[ -L "/etc/nginx/certs/${file}" ]]; then
96
rm -f "/etc/nginx/certs/${file}"
97
fi
98
done
0 commit comments