compose-website/utils/append_crt_list.sh
2015-09-21 18:17:42 +01:00

6 lines
211 B
Bash
Executable file

#!/bin/bash -eux
domain=$1
echo "/etc/haproxy/approved-certs/$domain.pem $domain" >> /data/runtime/haproxy/crt-list
echo "/etc/haproxy/approved-certs/$domain.pem www.$domain" >> /data/runtime/haproxy/crt-list