diff --git a/examples/behind-reverse-proxy/haproxy.cfg b/examples/behind-reverse-proxy/haproxy.cfg index 96c06e961..d8f41df79 100644 --- a/examples/behind-reverse-proxy/haproxy.cfg +++ b/examples/behind-reverse-proxy/haproxy.cfg @@ -1,6 +1,3 @@ -global - log stdout format raw local0 info - defaults timeout connect 5s timeout client 5s diff --git a/examples/behind-reverse-proxy/setup-linux.sh b/examples/behind-reverse-proxy/setup-linux.sh index aa26d3662..c458fefd4 100755 --- a/examples/behind-reverse-proxy/setup-linux.sh +++ b/examples/behind-reverse-proxy/setup-linux.sh @@ -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 \ No newline at end of file