Ajout : DAViCal + CalDavZAP + AgenDAV .
[lhc/ateliers.git] / etc / sv / nginx / remote.sh
index 7f7403d..df633bc 100644 (file)
@@ -5,9 +5,9 @@ for site in $(find "$tool"/etc/nginx/site.d \
  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 \