mirror of
https://github.com/wassname/nginx-proxy-letsencrypt.git
synced 2026-10-29 13:20:53 +08:00
Avoid displaying unecessary errors
Avoid 'ln: failed to create symbolic link' errors
This commit is contained in:
1 parent
98f43a905a
commit
7f85f7c4af
1 file changed
+2
-2
+2
-2
@@ -32,8 +32,8 @@ while true; do
|
||||
|
||||
# Symlink to created certificate and key.
|
||||
for domain in "${!hosts_array}"; do
|
||||
ln -s /etc/nginx/certs/$primary_domain/fullchain.pem /etc/nginx/certs/$domain".crt"
|
||||
ln -s /etc/nginx/certs/$primary_domain/key.pem /etc/nginx/certs/$domain".key"
|
||||
ln -sf ./$primary_domain/fullchain.pem /etc/nginx/certs/$domain".crt"
|
||||
ln -sf ./$primary_domain/key.pem /etc/nginx/certs/$domain".key"
|
||||
done
|
||||
|
||||
# TODO: Regenerate nginx config if simp_le created a certificate and key
|
||||
|
||||
Reference in new issue
Block a user