diff --git a/bin/domain.sh b/bin/domain.sh index 2bc340d..11c4be5 100755 --- a/bin/domain.sh +++ b/bin/domain.sh @@ -18,7 +18,7 @@ add_domain(){ check_input ${1} docker-compose exec ${CONT_NAME} su -s /bin/bash lsadm -c "cd /usr/local/lsws/conf && domainctl.sh -add ${1}" if [ ! -d "./sites/${1}" ]; then - mkdir -p ./sites/${1}/{html,logs} + mkdir -p ./sites/${1}/{html,logs,certs} fi }