Configure ufw to allow only SSH and HTTP traffic and deny everything else. Log the current rules.