Added fixes

This commit is contained in:
Alexey Berezhok
2024-06-29 21:22:33 +03:00
parent b52ec2c862
commit 719c7d9d67
4 changed files with 16 additions and 16 deletions

View File

@@ -899,6 +899,17 @@ fi
# Install packages #
#----------------------------------------------------------#
if [ "$iptables" = 'yes' ]; then
if [ -f /etc/redhat-release ]; then
# Revert from nftables to iptables only first time
systemctl stop firewalld
systemctl disable firewalld
dnf erase nftables -y
dnf install iptables-legacy iptables-legacy-libs iptables-services iptables-utils ipset -y
systemctl enable iptables --now
fi
fi
# Installing rpm packages
echo "The installer is now downloading and installing all required packages."
echo -ne "NOTE: This process may take 10 to 15 minutes to complete, please wait... "
@@ -1877,7 +1888,7 @@ local_ip="$primary_ipv4"
# Configuring firewall
if [ "$iptables" = 'yes' ]; then
$HESTIA/bin/v-update-firewall iptables
$HESTIA/bin/v-update-firewall
fi
# Get public IP

View File

@@ -35,7 +35,7 @@ maxretry = 5
enabled = true
filter = hestia
action = hestia[name=HESTIA]
logpath = /var/log/hestia/secure
logpath = /var/log/messages
maxretry = 5
[roundcube-auth]

View File

@@ -26,7 +26,8 @@ Alias /%pma_alias% /usr/share/phpmyadmin
</IfDefine>
<IfDefine !PHP_ENABLED>
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/hestia-php.sock|fcgi://localhost"
#SetHandler "proxy:unix:/run/hestia/php.sock|fcgi://localhost"
SetHandler "proxy:fcgi://127.0.0.1:9000"
</FilesMatch>
</IfDefine>