do
if test -f "$tool"/etc/nginx/site.d/"$site"/x509_host
then
- "$tool"/remote/site-x509-key-decrypt
+ "$tool"/remote/site-x509-key-decrypt \
"$(cat "$tool"/etc/nginx/site.d/"$site"/x509_host)" |
- "$tool"/remote/ssh -l root ' \
+ "$tool"/remote/ssh root@"$local_ipv4" ' \
sudo install -d -m 770 -o root -g root \
/etc/nginx \
/etc/nginx/x509.d \