Set up fail2ban for nginx, move IPFS gateway to proxy role
This commit is contained in:
@@ -18,7 +18,14 @@ unless node.chef_environment == "development"
|
||||
end
|
||||
|
||||
firewall_rule 'ipfs_api' do
|
||||
port node['kosmos-ipfs']['api']['port']
|
||||
port node['kosmos-ipfs']['api_port']
|
||||
source "10.1.1.0/24"
|
||||
protocol :tcp
|
||||
command :allow
|
||||
end
|
||||
|
||||
firewall_rule 'ipfs_gateway' do
|
||||
port node['kosmos-ipfs']['gateway_port']
|
||||
source "10.1.1.0/24"
|
||||
protocol :tcp
|
||||
command :allow
|
||||
|
||||
Reference in New Issue
Block a user