From cfe025396ff7417cf8fd04bd64becc966cf2ac07 Mon Sep 17 00:00:00 2001 From: Marcel Partap Date: Tue, 14 Apr 2020 16:59:43 +0200 Subject: [PATCH] nginx configuration: use more than one process --- roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 b/roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 index 51aa8a006..9ee72c879 100644 --- a/roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 +++ b/roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 @@ -8,7 +8,7 @@ # - various temp paths are changed to `/tmp`, so that a non-root user can write to them # - the `user` directive was removed, as we don't want nginx to switch users -worker_processes 1; +worker_processes auto; error_log /var/log/nginx/error.log warn; pid /tmp/nginx.pid;