Added fix for issues found while setting up anhonesthost

This commit is contained in:
2024-12-17 21:44:09 -08:00
parent 885deb5979
commit 49c5438866
3 changed files with 6 additions and 0 deletions

View File

@@ -14,6 +14,9 @@ mv /var/log/httpd /var/log/httpd.bak
ln -s /home/$user/logs/apache /var/log/httpd
ln -s /home/$user/logs/php-fpm /var/log/php-fpm
rm -f /etc/httpd/conf.d/userdir.conf
docker_network=$(ip addr show |grep eth0 |grep inet |awk -F " " {'print $2'})
echo "RemoteIPInternalProxy $docker_network" >> /etc/httpd/conf.d/remoteip.conf
/scripts/install-php$PHPVER.sh
/scripts/create-vhost.sh