Update HAProxy configuration to replace 'mybunker' with 'bunkerweb'

This commit is contained in:
Théophile Diot 2024-12-29 12:57:47 +00:00
parent 141b6aac6a
commit 75a8f39670
No known key found for this signature in database
GPG key ID: FA995104A0BA376A
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ fi
cp haproxy.cfg /etc/haproxy
sed -i "s/*:8080/*:80/" /etc/haproxy/haproxy.cfg
sed -i "s/mybunker/127.0.0.1/" /etc/haproxy/haproxy.cfg
sed -i "s/bunkerweb/127.0.0.1/" /etc/haproxy/haproxy.cfg
systemctl stop bunkerweb
systemctl stop haproxy
if [ -f /lib/systemd/system/haproxy.service ] ; then

View file

@ -17,7 +17,7 @@ fi
cp haproxy.cfg /etc/haproxy
sed -i "s/*:8080/*:80/g" /etc/haproxy/haproxy.cfg
sed -i "s/*:8443/*:443/g" /etc/haproxy/haproxy.cfg
sed -i "s/mybunker/127.0.0.1/g" /etc/haproxy/haproxy.cfg
sed -i "s/bunkerweb/127.0.0.1/g" /etc/haproxy/haproxy.cfg
systemctl stop bunkerweb
systemctl stop haproxy
if [ -f /lib/systemd/system/haproxy.service ] ; then