Ajout : shell.heureux-cyclage.org .
[lhc/ateliers.git] / etc / nginx / site.d / shell / 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/shell.heureux-cyclage.org/crt.self-signed.pem \
6 /etc/nginx/x509.d/"$site"/crt.pem
7 sudo install -m 664 -o www -g www \
8 "$tool"/var/pub/x509/shell.heureux-cyclage.org/crt.self-signed.pem \
9 /etc/nginx/x509.d/"$site"/user-crt.pem
10
11 find "$tool"/etc/shellinabox/ -type f -name '*.css' \
12 -exec sudo install -m 644 -o root -g root \
13 -t /etc/shellinabox/options-available/ {} +