Update UPDATE.sh

This commit is contained in:
Stefan Pejcic 2025-04-24 11:31:52 +02:00 committed by GitHub
parent 9727d42018
commit a400acf51a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,12 +6,6 @@ sed -i 's#/usr/local/panel/#/#g' /root/docker-compose.yml
cd /root
docker compose down openpanel && docker compose up -d openpanel
: '
echo ""
echo "Updating domain vhost files to log coraza rules.."
sed -i 's/ABIJDEFHZ\([^K]\|K[^X]\)/ABIJDEFHZKX\1/g' "$file"
'
echo ""
echo "Updating docker compose and env templates for future users.."
wget -O /etc/openpanel/docker/compose/1.0/docker-compose.yml https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/docker/compose/1.0/docker-compose.yml