mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
tests - fix behind-reverse-proxy/linux
This commit is contained in:
parent
d53c54d4b8
commit
0c4d2edf12
3 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue