소스 검색

Update nginx.conf.j2

Using variables for worker_processes and worker_connections
pull/544/head
schneif2 6 년 전
committed by GitHub
부모
커밋
2721948884
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      roles/matrix-riot-web/templates/nginx.conf.j2

+ 2
- 2
roles/matrix-riot-web/templates/nginx.conf.j2 파일 보기

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




불러오는 중...
취소
저장