Sfoglia il codice sorgente

Update nginx.conf.j2

Using variables for worker_processes and worker_connections
pull/544/head
schneif2 5 anni fa
committed by GitHub
parent
commit
2721948884
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      roles/matrix-riot-web/templates/nginx.conf.j2

+ 2
- 2
roles/matrix-riot-web/templates/nginx.conf.j2 Vedi File

@@ -10,14 +10,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_riot_web_worker_processes }};

error_log /var/log/nginx/error.log warn;
pid /tmp/nginx.pid;


events {
worker_connections 1024;
worker_connections {{ matrix_riot_web_worker_connections }};
}




Caricamento…
Annulla
Salva