diff --git a/oshipka.sh b/oshipka.sh index 24f13db..7d5877e 100755 --- a/oshipka.sh +++ b/oshipka.sh @@ -200,8 +200,8 @@ prod_install() { python "${OSHIPKA_PATH}/provision/auto_dns/set_domain_ipv4.py" "$DOMAIN" sudo systemctl start nginx - echo "Enabling firewall rule for 192.168.1.1 -> 80/tcp..." - sudo ufw allow proto tcp from 192.168.1.1 to any port 80 + echo "Enabling firewall rule -> 80/tcp..." + sudo ufw allow proto tcp to any port 80 echo "4/6 Installing '$PROJECT_NAME' insecure nginx config..." if [ -f "/etc/nginx/sites-available/${DOMAIN}.insecure" ]; then echo "Insecure Nginx config for ${PROJECT_NAME} available." @@ -222,7 +222,7 @@ prod_install() { echo "6/6 Installing '$PROJECT_NAME' secure nginx config..." echo "Enabling firewall rule for 192.168.1.1 -> 443/tcp..." - sudo ufw allow proto tcp from 192.168.1.1 to any port 443 + sudo ufw allow proto tcp to any port 443 echo "Removing '$PROJECT_NAME' insecure nginx config..." sudo rm "/etc/nginx/sites-available/${DOMAIN}.insecure" "/etc/nginx/sites-enabled/${DOMAIN}.insecure"