mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-23 10:07:28 +01:00
Add dummy item for iptables
This commit is contained in:
parent
dab5a457a8
commit
11f8c7cce4
@ -301,6 +301,10 @@ cat > /etc/httpd/conf.modules.d/ssl.conf <<- EOF
|
|||||||
LoadModule ssl_module lib/httpd/modules/mod_ssl.so
|
LoadModule ssl_module lib/httpd/modules/mod_ssl.so
|
||||||
EOF
|
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
|
if firewall-cmd --state >/dev/null 2>&1; then
|
||||||
# allow httpd access through firewall
|
# allow httpd access through firewall
|
||||||
firewall-cmd --permanent --add-service=http
|
firewall-cmd --permanent --add-service=http
|
||||||
|
Loading…
Reference in New Issue
Block a user