open firewall ports for HTTP/HTTPS in setup.sh
This commit is contained in:
@@ -105,6 +105,11 @@ chmod 440 /etc/sudoers.d/deploy
|
|||||||
echo "==> Making scripts executable..."
|
echo "==> Making scripts executable..."
|
||||||
chmod +x "$REPO_DIR/scripts/"*.sh
|
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..."
|
echo "==> Setting up certbot..."
|
||||||
mkdir -p "$REPO_DIR/docker/nginx/certbot/www"
|
mkdir -p "$REPO_DIR/docker/nginx/certbot/www"
|
||||||
mkdir -p /etc/letsencrypt/renewal-hooks/deploy
|
mkdir -p /etc/letsencrypt/renewal-hooks/deploy
|
||||||
|
|||||||
Reference in New Issue
Block a user