Update caddy-jail.sh

Minor tweaks
master
Basil Hendroff 2020-08-09 18:35:07 +08:00 committed by GitHub
parent 754763e93a
commit 2a2459870f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ DEFAULT_GW_IP=""
INTERFACE="vnet0"
VNET="on"
POOL_PATH=""
CONFIG_PATH=""
JAIL_NAME="caddy"
DNS_PLUGIN=""
CONFIG_NAME="caddy-config"
@ -60,7 +61,7 @@ if [ -z "${HOST_NAME}" ]; then
exit 1
fi
# If CONFIG_PATH wasn't set in nextcloud-config, set it
# If CONFIG_PATH wasn't set in caddy-config, set it
if [ -z "${CONFIG_PATH}" ]; then
CONFIG_PATH="${POOL_PATH}"/apps/caddy
fi