diff options
author | bai | 2020-07-24 05:30:23 -0400 |
---|---|---|
committer | bai | 2020-07-24 05:30:23 -0400 |
commit | 7293ea47717c49d66651edef02c5c8def7df9333 (patch) | |
tree | 50ddcd111793def89faa23936d1986edb5973777 /cgi/templates/bansconf | |
parent | e67fc0c6ac081b71c819844591d7b1d317071b05 (diff) | |
download | weabot-7293ea47717c49d66651edef02c5c8def7df9333.tar.gz weabot-7293ea47717c49d66651edef02c5c8def7df9333.tar.xz weabot-7293ea47717c49d66651edef02c5c8def7df9333.zip |
Optimizado listado de bans para nginx usando el módulo geo
Diffstat (limited to 'cgi/templates/bansconf')
-rw-r--r-- | cgi/templates/bansconf | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cgi/templates/bansconf b/cgi/templates/bansconf deleted file mode 100644 index 07e8afd..0000000 --- a/cgi/templates/bansconf +++ /dev/null @@ -1,7 +0,0 @@ -<?py for board, ips in bans.iteritems(): ?> -location /#{board}/ { - <?py for ip in ips: ?> - deny #{ip}; - <?py #endfor ?> -} -<?py #endfor ?> |