From 505d5c2ae4ada4afdf88c78468c83d37cb4d69ae Mon Sep 17 00:00:00 2001 From: bunkerity Date: Tue, 16 Aug 2022 11:08:58 +0200 Subject: [PATCH] tests - fix behind-reverse-proxy/linux --- examples/behind-reverse-proxy/haproxy.cfg | 3 --- examples/behind-reverse-proxy/setup-linux.sh | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) 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