12 lines
223 B
Ruby
12 lines
223 B
Ruby
#
|
|
# Cookbook Name:: kosmos-ipfs
|
|
# Recipe:: firewall_public_gateway
|
|
#
|
|
|
|
include_recipe 'firewall'
|
|
firewall_rule 'ipfs_api' do
|
|
port node['kosmos-ipfs']['nginx']['external_api_port']
|
|
protocol :tcp
|
|
command :allow
|
|
end
|