From 36000bfb97eb51a6f5af6a3b277aa9ed20ad70e0 Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Sat, 2 Nov 2019 22:41:29 +0100 Subject: [PATCH 1/2] nginx template: pid instruction --- templates/nginx.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2 index d313006..b6b0834 100644 --- a/templates/nginx.conf.j2 +++ b/templates/nginx.conf.j2 @@ -2,6 +2,8 @@ # worker_processes 1; daemon off; +pid {{ service.root }}/pid; + worker_rlimit_nofile 1024; events { worker_connections 800; From fd704745fa84fbd06d55216a9c8bb51a5bbcbc5c Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Mon, 4 Nov 2019 14:00:13 +0100 Subject: [PATCH 2/2] removing "test" port --- services/nginx.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/nginx.spec b/services/nginx.spec index e42c50a..f2e2985 100644 --- a/services/nginx.spec +++ b/services/nginx.spec @@ -1,7 +1,7 @@ command: nginx -c ${SERVICE_ROOT}/nginx.conf consumes: http? provides: www, http -ports: http=80, https=443, test +ports: http=80, https=443 %directory ${SERVICE_ROOT}/ name: working directory