Browse Source

fix issue with document root

master
Simon Vieille 3 months ago
parent
commit
27584a6f04
Signed by: Simon Vieille <simon@deblan.fr> GPG Key ID: 03383D15A1D31745
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      bin/vhost-add

+ 2
- 1
bin/vhost-add View File

@@ -47,7 +47,8 @@ fi
# WEB_HTTPS_GENERATE_CERTIFICATE="$(form_yes_no -t "$TITLE" -l "Retrieve certificate using LE")"
#fi

DOCUMENT_ROOT="$(form_input -t "$TITLE" -l "Document Root" -d "$WEB_ROOT_PATH/$DOMAIN/web")"
DOCUMENT_ROOT="$(form_input -t "$TITLE" -l "Document root\n$WEB_ROOT_PATH/$DOMAIN/" -d "web/")"
DOCUMENT_ROOT="$WEB_ROOT_PATH/$DOMAIN/$DOCUMENT_ROOT"

PHP_ENABLED="$(form_yes_no -t "$TITLE" -l "Support of PHP")"


Loading…
Cancel
Save