fix clean deployment nginx configuration
This commit is contained in:
@@ -32,6 +32,15 @@ valid_port() {
|
||||
[[ $# -eq 0 ]] || fail "usage: ./install.sh"
|
||||
[[ ! -e .env ]] ||
|
||||
fail ".env already exists; use ./manage.sh instead of overwriting this deployment"
|
||||
for required_file in \
|
||||
compose.yaml \
|
||||
compose.http.yaml \
|
||||
compose.tls.yaml \
|
||||
deploy/nginx/templates/http.conf.template \
|
||||
deploy/nginx/templates/tls.conf.template; do
|
||||
[[ -f "$required_file" ]] ||
|
||||
fail "repository file is missing or not a regular file: ${required_file}"
|
||||
done
|
||||
|
||||
for command_name in docker openssl; do
|
||||
command -v "$command_name" >/dev/null 2>&1 ||
|
||||
|
||||
Reference in New Issue
Block a user