summaryrefslogtreecommitdiff
path: root/blob/nginx_rewrite_rules
diff options
context:
space:
mode:
Diffstat (limited to 'blob/nginx_rewrite_rules')
-rwxr-xr-xblob/nginx_rewrite_rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/blob/nginx_rewrite_rules b/blob/nginx_rewrite_rules
index e6783f0..1b65c16 100755
--- a/blob/nginx_rewrite_rules
+++ b/blob/nginx_rewrite_rules
@@ -11,6 +11,8 @@ location /robots.txt {} #stop rewriting the robots.txt
location /favicon.ico {}
location /static {}
+rewrite ^/banned$ /httperror.php?e=ban;
+
location ~* ^/?login/?([a-z0-9]+=[a-z0-9]+(&[a-z0-9]+=[a-z0-9]+)?)?$ {
rewrite ^/?login([?/]?.*) /index.php?task=login&arguments=$1 last;
}