open firewall ports for HTTP/HTTPS in setup.sh

This commit is contained in:
2026-03-16 01:09:09 -04:00
parent 5c38b0631a
commit 796a0003c7
+5
View File
@@ -105,6 +105,11 @@ chmod 440 /etc/sudoers.d/deploy
echo "==> Making scripts executable..."
chmod +x "$REPO_DIR/scripts/"*.sh
echo "==> Opening firewall ports..."
firewall-cmd --permanent --add-service=http
firewall-cmd --permanent --add-service=https
firewall-cmd --reload
echo "==> Setting up certbot..."
mkdir -p "$REPO_DIR/docker/nginx/certbot/www"
mkdir -p /etc/letsencrypt/renewal-hooks/deploy