Updates nginx’ support.

This commit is contained in:
Luka Vandervelden 2020-01-04 16:16:13 +01:00
parent 5347ec4a62
commit ddeb253c1e
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ consumes: http?
provides: www, http provides: www, http
ports: http=80, https=443 ports: http=80, https=443
reload-command: kill -HUP ${SERVICE_PID} reload-command: kill -HUP ${SERVICE_PID}
user: root
%configuration nginx.conf %configuration nginx.conf

View File

@ -2,6 +2,8 @@
# worker_processes 1; # worker_processes 1;
daemon off; daemon off;
user {{ service.user }};
pid {{ service.root }}/pid; pid {{ service.root }}/pid;
worker_rlimit_nofile 1024; worker_rlimit_nofile 1024;