Make nofiles limit configurable, change default

This commit is contained in:
2024-06-08 16:26:48 +02:00
parent b4e89583fb
commit 33012f64c7
2 changed files with 2 additions and 1 deletions

View File

@@ -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] %>"