From 9b261e9d0bafd0a2eb70e060e04a75339a52f85b Mon Sep 17 00:00:00 2001
From: Sergey Yakubov <sergey.yakubov@desy.de>
Date: Fri, 1 Jun 2018 17:35:58 +0200
Subject: [PATCH] daemon off for nginx

---
 tests/automatic/settings/nginx.conf.tpl | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/automatic/settings/nginx.conf.tpl b/tests/automatic/settings/nginx.conf.tpl
index 3b7a2b66d..e688e587b 100644
--- a/tests/automatic/settings/nginx.conf.tpl
+++ b/tests/automatic/settings/nginx.conf.tpl
@@ -1,4 +1,5 @@
 worker_processes  1;
+daemon off;
 
 events {
     worker_connections  1024;
@@ -13,12 +14,10 @@ http {
 
 #    keepalive_timeout  0;
 #    keepalive_timeout  65;
-    access_log  off;
-    error_log off;
 
     resolver 127.0.0.1:8600 valid=1s;
     server {
-        listen       8400;
+        listen       {{ env "NOMAD_PORT_nginx" }};
           set $discovery_endpoint discovery.service.asapo;
           location /discovery/ {
             rewrite ^/discovery(/.*) $1 break;
-- 
GitLab