We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 441bf01 commit 6e61c06Copy full SHA for 6e61c06
func/rebuild.sh
@@ -223,7 +223,11 @@ rebuild_web_domain_conf() {
223
224
# Adding SSL vhost configuration
225
if [ "$SSL" = 'yes' ]; then
226
+ ssl_file_dir="$HOMEDIR/$user/conf/web/$domain/ssl"
227
conf="$HOMEDIR/$user/conf/web/$domain/$WEB_SYSTEM.ssl.conf"
228
+ if [ ! -d "$ssl_file_dir" ]; then
229
+ mkdir -p $ssl_file_dir
230
+ fi
231
add_web_config "$WEB_SYSTEM" "$TPL.stpl"
232
cp -f $USER_DATA/ssl/$domain.crt \
233
$HOMEDIR/$user/conf/web/$domain/ssl/$domain.crt
0 commit comments