Просмотр исходного кода
Update nginx.conf.j2
Using variables for worker_processes and worker_connections
pull/544/head
schneif2
5 лет назад
committed by
GitHub
Родитель
Сommit
64bb9cd261
Не найден GPG ключ соответствующий данной подписи
Идентификатор GPG ключа: 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 }}; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|