Serve static assets from Rails in prod
This commit is contained in:
parent
cf082833a7
commit
d8d1609572
@ -38,6 +38,8 @@ lndhub_host = search(:node, "role:lndhub").first["knife_zero"]["host"] rescue ni
|
||||
webhooks_allowed_ips = [lndhub_host].compact.uniq.join(',')
|
||||
env = {}
|
||||
|
||||
env[:rails_serve_static_files] = "true"
|
||||
|
||||
if webhooks_allowed_ips.length > 0
|
||||
env[:webhooks_allowed_ips] = webhooks_allowed_ips
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user