diff options
author | bai | 2020-07-22 06:33:52 -0400 |
---|---|---|
committer | bai | 2020-07-22 06:33:52 -0400 |
commit | c07c6f7d96ee621cad2522646f25c4deb8e9147d (patch) | |
tree | 19a13be13941539ba8e91743c975b30cf7fe1a3b /cgi/templates | |
parent | d4b0e27b70f5c7c324edbbaa930197970dfe55c8 (diff) | |
download | weabot-c07c6f7d96ee621cad2522646f25c4deb8e9147d.tar.gz weabot-c07c6f7d96ee621cad2522646f25c4deb8e9147d.tar.xz weabot-c07c6f7d96ee621cad2522646f25c4deb8e9147d.zip |
Reimplementados bans ciegos para ser compatibles con nginx
Diffstat (limited to 'cgi/templates')
-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 ?> |