Set up fail2ban for nginx, move IPFS gateway to proxy role
This commit is contained in:
@@ -71,10 +71,9 @@
|
||||
"recipe[kosmos_kvm::backup]",
|
||||
"recipe[kosmos-ejabberd::firewall]",
|
||||
"recipe[kosmos-ipfs::firewall_swarm]",
|
||||
"recipe[kosmos-ipfs::firewall_public_gateway]",
|
||||
"recipe[kosmos-bitcoin::firewall]",
|
||||
"recipe[kosmos_zerotier::firewall]",
|
||||
"recipe[kosmos-nginx::firewall]",
|
||||
"recipe[sockethub::firewall]"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
"kosmos-akkounts::nginx_api",
|
||||
"kosmos-hubot::nginx_botka_irc-libera-chat",
|
||||
"kosmos-hubot::nginx_hal8000_xmpp",
|
||||
"kosmos-ipfs::nginx_public_gateway",
|
||||
"remotestorage_discourse::nginx",
|
||||
"kosmos_zerotier::controller",
|
||||
"kosmos_zerotier::firewall",
|
||||
@@ -66,7 +67,10 @@
|
||||
"discourse::nginx",
|
||||
"git::default",
|
||||
"git::package",
|
||||
"kosmos-base::letsencrypt"
|
||||
"kosmos-base::letsencrypt",
|
||||
"firewall::default",
|
||||
"chef-sugar::default",
|
||||
"fail2ban::default"
|
||||
],
|
||||
"platform": "ubuntu",
|
||||
"platform_version": "20.04",
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
"hostname": "ipfs-1",
|
||||
"ipaddress": "192.168.122.195",
|
||||
"roles": [
|
||||
"kvm_guest"
|
||||
"kvm_guest",
|
||||
"ipfs_gateway"
|
||||
],
|
||||
"recipes": [
|
||||
"kosmos-base",
|
||||
@@ -20,7 +21,6 @@
|
||||
"kosmos_kvm::guest",
|
||||
"kosmos-ipfs",
|
||||
"kosmos-ipfs::default",
|
||||
"kosmos-ipfs::public_gateway",
|
||||
"kosmos-ipfs::kredits_pinner",
|
||||
"apt::default",
|
||||
"timezone_iii::default",
|
||||
@@ -43,19 +43,7 @@
|
||||
"kosmos-nodejs::default",
|
||||
"nodejs::nodejs_from_package",
|
||||
"nodejs::repo",
|
||||
"kosmos-ipfs::firewall_swarm",
|
||||
"kosmos-nginx::default",
|
||||
"nginx::default",
|
||||
"nginx::package",
|
||||
"nginx::ohai_plugin",
|
||||
"nginx::repo",
|
||||
"nginx::commons",
|
||||
"nginx::commons_dir",
|
||||
"nginx::commons_script",
|
||||
"nginx::commons_conf",
|
||||
"kosmos-nginx::firewall",
|
||||
"kosmos-ipfs::firewall_public_gateway",
|
||||
"kosmos-base::letsencrypt"
|
||||
"kosmos-ipfs::firewall_swarm"
|
||||
],
|
||||
"platform": "ubuntu",
|
||||
"platform_version": "20.04",
|
||||
@@ -76,4 +64,4 @@
|
||||
"role[kvm_guest]",
|
||||
"role[ipfs_gateway]"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user