diff options
Diffstat (limited to 'cgi/templates/bansconf')
-rw-r--r-- | cgi/templates/bansconf | 7 |
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 ?> |