aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates')
-rw-r--r--cgi/templates/bansconf7
1 files changed, 7 insertions, 0 deletions
diff --git a/cgi/templates/bansconf b/cgi/templates/bansconf
new file mode 100644
index 0000000..07e8afd
--- /dev/null
+++ b/cgi/templates/bansconf
@@ -0,0 +1,7 @@
+<?py for board, ips in bans.iteritems(): ?>
+location /#{board}/ {
+ <?py for ip in ips: ?>
+ deny #{ip};
+ <?py #endfor ?>
+}
+<?py #endfor ?>