Преглед изворни кода
Update nginx.conf.j2
Using variables for worker_processes and worker_connections
pull/544/head
schneif2
пре 5 година
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са
2 додато и
2 уклоњено
-
roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2
|
|
|
@@ -8,14 +8,14 @@ |
|
|
|
# - 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 {{ matrix_nginx_proxy_proxy_synapse_worker_processes }}; |
|
|
|
|
|
|
|
error_log /var/log/nginx/error.log warn; |
|
|
|
pid /tmp/nginx.pid; |
|
|
|
|
|
|
|
|
|
|
|
events { |
|
|
|
worker_connections 1024; |
|
|
|
worker_connections {{ matrix_nginx_proxy_proxy_synapse_worker_connections }}; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|