diff options
Diffstat (limited to 'blob/nginx_rewrite_rules')
| -rwxr-xr-x | blob/nginx_rewrite_rules | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/blob/nginx_rewrite_rules b/blob/nginx_rewrite_rules index 4340f9d..1d6973d 100755 --- a/blob/nginx_rewrite_rules +++ b/blob/nginx_rewrite_rules @@ -1,12 +1,11 @@ -error_page 401 403 404 /httperror.php?e=40x; -error_page 500 502 504 /httperror.php?e=50x; +error_page 401 403 404 /httperror.php?e=40x; +error_page 500 502 504 /httperror.php?e=50x; -location /robots.txt {} #stop rewriting the robots.txt +location /robots.txt {} #stop rewriting the robots.txt -location /favicon.ico {} -location /static {} +location /favicon.ico {} +location /static {} #location ~* ^/.+[^/].+\.css {} -#location ~* ^/.+[^/].+\.png {} location ~* ^/?login/?([a-z0-9]+=[a-z0-9]+(&[a-z0-9]+=[a-z0-9]+)?)?$ { rewrite ^/?login([?/]?.*) /index.php?task=login&arguments=$1 last; |
