tests - fix behind-reverse-proxy/linux

This commit is contained in:
bunkerity 2022-08-10 16:24:00 +02:00
parent d53c54d4b8
commit 0c4d2edf12
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
3 changed files with 2 additions and 2 deletions

View File

@ -15,6 +15,7 @@ elif [ ! -z $APT ] ; then
fi
cp haproxy.cfg /etc/haproxy
sed -i "s/8080/80/"
systemctl stop haproxy
systemctl start haproxy

View File

@ -1,5 +1,3 @@
HTTP_PORT=80
HTTPS_PORT=443
DNS_RESOLVERS=8.8.8.8 8.8.4.4
# replace with your domains
SERVER_NAME=www.example.com

View File

@ -59,6 +59,7 @@ class LinuxTest(Test) :
proc = LinuxTest.docker_exec(distro, "chown -R nginx:nginx " + dst + "/*")
if proc.returncode != 0 :
raise(Exception("docker exec failed for directory " + src + " (linux stack)"))
# TODO : php install
sleep(60)
except :
log("LINUX", "", "exception while running LinuxTest.init()\n" + format_exc())