Fix domain rebuild for new conf style

This commit is contained in:
Serghey Rodin 2017-12-27 19:08:28 +02:00
commit 5a42216130
2 changed files with 20 additions and 6 deletions

View file

@ -202,7 +202,7 @@ add_web_config() {
-e "s|%ssl_pem%|$ssl_pem|g" \
-e "s|%ssl_ca_str%|$ssl_ca_str|g" \
-e "s|%ssl_ca%|$ssl_ca|g" \
>> $conf
> $conf
chown root:$user $conf
chmod 640 $conf