From 296d8a14511739a15327ffe30c0895cd3490e940 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 21 Mar 2014 19:25:02 +0100 Subject: Doesn't show private files anymore and trying to write a empty_folder function. --- blob/nginx_rewrite_rules | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'blob/nginx_rewrite_rules') 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; -- cgit v1.2.3