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 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;