You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't want to use "worker_rlimit_nofile" inside the config and try disable it from rendering from template.
Also I try to use false or empty string and get errors when validating.
As a potential solution:
Add > 0 inside template
<% if @worker_rlimit_nofile * > 0 * -%>
worker_rlimit_nofile <%= @worker_rlimit_nofile %>;
<% end -%>
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
row
worker_rlimit_nofile 1024;
inside/etc/nginx/nginx.conf
fileWhat behaviour did you expect instead
Config without
worker_rlimit_nofile
Output log
None? Maybe I missed something
Any additional information you'd like to impart
I don't want to use "worker_rlimit_nofile" inside the config and try disable it from rendering from template.
Also I try to use false or empty string and get errors when validating.
As a potential solution:
Add
> 0
inside templateThe text was updated successfully, but these errors were encountered: