From 2999c464fa15b4aca0697626a54664178949096d Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Mon, 20 Apr 2026 14:53:44 -0700 Subject: [PATCH] setup-opds.sh: add firewall port warning before starting Caddy --- hub/setup-opds.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hub/setup-opds.sh b/hub/setup-opds.sh index 69932f8..00c4c9f 100755 --- a/hub/setup-opds.sh +++ b/hub/setup-opds.sh @@ -231,6 +231,14 @@ fi info "Caddyfile written to ${CADDY_DIR}/Caddyfile" +header "Firewall Check" +warn "Caddy requires ports 80 and 443 to be open on this server." +warn "If using a cloud firewall (e.g. Linode), ensure inbound TCP rules allow:" +warn " Port 80 — required for Let's Encrypt HTTP challenge and HTTP→HTTPS redirect" +warn " Port 443 — required for HTTPS" +echo "" +read -rp "Press ENTER to continue once ports are open..." + header "Starting Caddy" docker rm -f caddy-opds 2>/dev/null || true