🗃️ Committing everything that changed 🗃️
All checks were successful
release-tag / release-image (push) Successful in 3m23s

rootfs/root/docker/setup/02-packages.sh
rootfs/usr/local/etc/docker/init.d/99-nginx.sh
This commit is contained in:
casjay 2024-09-12 18:46:13 -04:00
parent 36e4c5bd9b
commit d8bdc25da1
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145
2 changed files with 1 additions and 4 deletions

View File

@ -27,7 +27,7 @@ exitCode=0
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Predifined actions
[ -d "/etc/nginx" ] && rm -Rf /etc/nginx/*
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Main script

View File

@ -223,9 +223,6 @@ __update_conf_files() {
# define actions
[ -f "$LOG_DIR/error.log" ] || touch "$LOG_DIR/error.log"
[ -f "$LOG_DIR/access.log" ] || touch "$LOG_DIR/access.log"
[ -d "$WWW_ROOT_DIR/.well-known" ] || mkdir -p "$WWW_ROOT_DIR/.well-known"
mkdir -p "$ETC_DIR/conf.d" "$ETC_DIR/sites-enabled" "$ETC_DIR/sites-available" "$ETC_DIR/streams-enabled" "$ETC_DIR/streams-available"
mkdir -p "$CONF_DIR/conf.d" "$CONF_DIR/sites-enabled" "$CONF_DIR/sites-available" "$CONF_DIR/streams-enabled" "$CONF_DIR/streams-available"
# exit function
return $exitCode
}