Merge pull request #167 from outis1one/claude/bootstrap-script-404-d8dc7h
setup.sh: don't offer to install Caddy when CADDY_MODE is remote/none
This commit is contained in:
@@ -273,8 +273,11 @@ if ! grep -q '^CADDY_MODE=' "$DOCKER_DIR/.config" 2>/dev/null; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 4) Offer Caddy first (most services proxy through it).
|
# 4) Offer Caddy first (most services proxy through it) — only when Caddy is
|
||||||
if [ -n "${SERVICE_GROUP[caddy]:-}" ] && ! is_installed caddy; then
|
# (or will be) local to this box. Remote/none mode means Caddy lives
|
||||||
|
# elsewhere, so installing it here would be wrong.
|
||||||
|
if [ -n "${SERVICE_GROUP[caddy]:-}" ] && ! is_installed caddy \
|
||||||
|
&& [ "${CADDY_MODE:-local}" = "local" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
OFFER_CADDY=""
|
OFFER_CADDY=""
|
||||||
prompt_yn "Install Caddy now? It's the reverse proxy most services use. (y/n):" "y" OFFER_CADDY
|
prompt_yn "Install Caddy now? It's the reverse proxy most services use. (y/n):" "y" OFFER_CADDY
|
||||||
|
|||||||
Reference in New Issue
Block a user