Set up fail2ban for nginx, move IPFS gateway to proxy role

This commit is contained in:
Râu Cao
2022-11-22 21:16:27 +01:00
parent 7f545404b1
commit d06f5d7723
33 changed files with 1528 additions and 100 deletions

View File

@@ -0,0 +1,23 @@
# DO NOT EDIT - This file is being maintained by Chef Infra
[<%= @name %>]
enabled = true
<% if @protocol -%>
protocol = <%= @protocol %>
<% end -%>
<% unless @ports.empty? -%>
port = <%= @ports.join(",") %>
<% end -%>
filter = <%= @filter %>
<% if @logpath -%>
logpath = <%= @logpath %>
<% end -%>
<% if @maxretry -%>
maxretry = <%= @maxretry %>
<% end -%>
<% if @ignoreips -%>
ignoreip = <%= @ignoreips.sort.join(" ") %>
<% end -%>
<% if @bantime -%>
bantime = <%= @bantime %>
<% end -%>