File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -335,6 +335,7 @@ nginx_main_template:
335
335
conf_file_location : /etc/nginx/
336
336
user : nginx
337
337
worker_processes : auto
338
+ # worker_rlimit_nofile: 1024
338
339
error_level : warn
339
340
worker_connections : 1024
340
341
http_enable : true
Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ nginx_main_template:
146
146
conf_file_location : /etc/nginx/
147
147
user : nginx
148
148
worker_processes : auto
149
+ # worker_rlimit_nofile: 1024
149
150
error_level : warn
150
151
worker_connections : 1024
151
152
http_enable : true
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ load_module modules/ngx_http_modsecurity_module.so;
34
34
user {{ nginx_main_template.user }};
35
35
worker_processes {{ nginx_main_template.worker_processes }};
36
36
37
+ {% if nginx_main_template .worker_rlimit_nofile is defined %}
38
+ worker_rlimit_nofile {{ nginx_main_template.worker_rlimit_nofile }};
39
+ {% endif %}
40
+
37
41
error_log /var/log/nginx/error.log {{ nginx_main_template.error_level }};
38
42
pid /var/run/nginx.pid;
39
43
You can’t perform that action at this time.
0 commit comments