Bläddra i källkod

Update nginx.conf.j2

Using variables for worker_processes and worker_connections
pull/544/head
schneif2 5 år sedan
committed by GitHub
förälder
incheckning
2721948884
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: 4AEE18F83AFDEB23
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      roles/matrix-riot-web/templates/nginx.conf.j2

+ 2
- 2
roles/matrix-riot-web/templates/nginx.conf.j2 Visa fil

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






Laddar…
Avbryt
Spara