This commit is contained in:
Oilbeater 2018-03-12 15:21:50 +00:00 committed by GitHub
commit 2537954e83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -16,6 +16,8 @@ load_module /etc/nginx/modules/ngx_http_modsecurity_module.so;
daemon off;
worker_processes {{ $cfg.WorkerProcesses }};
worker_cpu_affinity auto;
pid /run/nginx.pid;
{{ if ne .MaxOpenFiles 0 }}
worker_rlimit_nofile {{ .MaxOpenFiles }};