mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-23 08:58:33 +00:00
tests - fix behind-reverse-proxy/linux
This commit is contained in:
parent
70992a0b50
commit
505d5c2ae4
2 changed files with 2 additions and 6 deletions
|
|
@ -1,6 +1,3 @@
|
|||
global
|
||||
log stdout format raw local0 info
|
||||
|
||||
defaults
|
||||
timeout connect 5s
|
||||
timeout client 5s
|
||||
|
|
|
|||
|
|
@ -15,11 +15,10 @@ elif [ ! -z $APT ] ; then
|
|||
fi
|
||||
|
||||
cp haproxy.cfg /etc/haproxy
|
||||
sed -i "s/8080/80/" /etc/haproxy/haproxy.cfg
|
||||
sed -i "s/*:8080/*:80/" /etc/haproxy/haproxy.cfg
|
||||
sed -i "s/mybunker/127.0.0.1/" /etc/haproxy/haproxy.cfg
|
||||
systemctl stop bunkerweb
|
||||
systemctl stop haproxy
|
||||
#systemctl start haproxy
|
||||
haproxy -f /etc/haproxy/haproxy.cfg > /tmp/haproxy.log &
|
||||
systemctl start haproxy
|
||||
|
||||
echo "hello" > /opt/bunkerweb/www/index.html
|
||||
Loading…
Reference in a new issue