Correction : {host,local,remote}/ : duplicity + MySQL.
[lhc/ateliers.git] / etc / nginx / site.d / gitweb-tls / local.sh
1 hint="run before: remote/runit-configure nginx -- $site"
2 assert "sudo test -f /etc/nginx/x509.d/\"$site\"/key.pem" hint
3
4 sudo install -m 664 -o www -g www \
5 "$tool"/var/pub/x509/git.heureux-cyclage.org/crt+ca.pem \
6 /etc/nginx/x509.d/"$site"/crt.pem
7
8 sudo rmdir ~www-data/"$site" || true
9 sudo ln -fns "${site%-tls}" ~www-data/"$site"