Compare commits
2 Commits
b4e89583fb
...
v0.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
65b6d65527
|
|||
|
33012f64c7
|
@@ -40,7 +40,7 @@ else
|
||||
execute "compile" do
|
||||
cwd "/usr/local/src/strfry"
|
||||
command "make setup-golpe && make -j$(nproc)"
|
||||
# action :nothing
|
||||
action :nothing
|
||||
notifies :create, "link[/usr/local/bin/strfry]", :immediately
|
||||
notifies :restart, "service[strfry]", :delayed
|
||||
end
|
||||
@@ -75,6 +75,7 @@ template "/etc/strfry.conf" do
|
||||
bind: node["strfry"]["bind_ip"],
|
||||
real_ip_header: node["strfry"]["real_ip_header"],
|
||||
port: node["strfry"]["port"],
|
||||
nofiles: node["strfry"]["nofiles"],
|
||||
info: node["strfry"]["info"]
|
||||
}
|
||||
notifies :restart, "service[strfry]", :delayed
|
||||
|
||||
@@ -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