fix clean deployment nginx configuration

This commit is contained in:
2026-07-28 18:01:29 -05:00
parent 941ef0691f
commit 48f7dad599
6 changed files with 102 additions and 3 deletions
+9
View File
@@ -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 ||