Explorar el Código

Update nginx.conf.j2

Using variables for worker_processes and worker_connections
pull/544/head
schneif2 hace 5 años
committed by GitHub
padre
commit
64bb9cd261
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2

+ 2
- 2
roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 Ver fichero

@@ -8,14 +8,14 @@
# - various temp paths are changed to `/tmp`, so that a non-root user can write to them # - 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 # - 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; error_log /var/log/nginx/error.log warn;
pid /tmp/nginx.pid; pid /tmp/nginx.pid;




events { events {
worker_connections 1024;
worker_connections {{ matrix_nginx_proxy_proxy_synapse_worker_connections }};
} }






Cargando…
Cancelar
Guardar