Parcourir la source

Update nginx.conf.j2

Using variables for worker_processes and worker_connections
pull/544/head
schneif2 il y a 5 ans
committed by GitHub
Parent
révision
64bb9cd261
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2

+ 2
- 2
roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 Voir le fichier

@@ -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 }};
}




Chargement…
Annuler
Enregistrer