From e6d9ab395024636f2f96de3d24896c1a92f83659 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Tue, 7 Feb 2017 17:59:54 +0200 Subject: [PATCH] Fixing Travis - error accessing Nginx error.log --- travis/install-nginx.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/travis/install-nginx.sh b/travis/install-nginx.sh index 6c98ef0f5..2e9753908 100755 --- a/travis/install-nginx.sh +++ b/travis/install-nginx.sh @@ -27,6 +27,7 @@ mkdir "$DIR/nginx/sites-enabled" mkdir "$DIR/var" mkdir "$DIR/nginx/bots.d" mkdir "$DIR/nginx/conf.d" +mkdir "$DIR/tmp" # Configure the PHP handler. if [ "$PHP_VERSION" = 'hhvm' ] || [ "$PHP_VERSION" = 'hhvm-nightly' ] @@ -60,4 +61,4 @@ tpl "$DIR/blockbots.tpl.conf" "$DIR/nginx/bots.d/blockbots.conf" tpl "$DIR/ddos.tpl.conf" "$DIR/nginx/bots.d/ddos.conf" # Start nginx. -nginx -c "$DIR/nginx/nginx.conf" \ No newline at end of file +nginx -c "$DIR/nginx/nginx.conf" -p "$DIR/nginx" \ No newline at end of file