mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Update HAProxy configuration to replace 'mybunker' with 'bunkerweb'
This commit is contained in:
parent
141b6aac6a
commit
75a8f39670
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue