Add dummy item for iptables

This commit is contained in:
Trevor Batley 2024-03-02 08:37:51 +11:00
parent dab5a457a8
commit 11f8c7cce4

View File

@ -301,6 +301,10 @@ cat > /etc/httpd/conf.modules.d/ssl.conf <<- EOF
LoadModule ssl_module lib/httpd/modules/mod_ssl.so
EOF
# Firewall stuff
if systemctl status iptables >/dev/null 2>&1; then
# set iptables rules for http and https
fi
if firewall-cmd --state >/dev/null 2>&1; then
# allow httpd access through firewall
firewall-cmd --permanent --add-service=http