summaryrefslogtreecommitdiff
path: root/blob/nginx_rewrite_rules
diff options
context:
space:
mode:
Diffstat (limited to 'blob/nginx_rewrite_rules')
-rwxr-xr-xblob/nginx_rewrite_rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/blob/nginx_rewrite_rules b/blob/nginx_rewrite_rules
index 2c9b7f3..e276bcf 100755
--- a/blob/nginx_rewrite_rules
+++ b/blob/nginx_rewrite_rules
@@ -12,6 +12,7 @@ location /favicon.ico {}
location /static {}
try_files $uri @main;
+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;