Make nofiles limit configurable, change default
This commit is contained in:
@@ -43,7 +43,7 @@ relay {
|
||||
port = <%= @config[:port] || "7777" %>
|
||||
|
||||
# Set OS-limit on maximum number of open files/sockets (if 0, don't attempt to set) (restart required)
|
||||
nofiles = 1000000
|
||||
nofiles = <%= @config[:nofiles] || "524288" %>
|
||||
|
||||
# HTTP header that contains the client's real IP, before reverse proxying (ie x-real-ip) (MUST be all lower-case)
|
||||
realIpHeader = "<%= @config[:real_ip_header] %>"
|
||||
|
||||
Reference in New Issue
Block a user