summaryrefslogtreecommitdiff
path: root/blob/nginx_rewrite_rules
diff options
context:
space:
mode:
authorroot2014-03-21 19:25:02 +0100
committerroot2014-03-21 19:25:02 +0100
commit296d8a14511739a15327ffe30c0895cd3490e940 (patch)
tree2bd7d23df26374b99b3235366e267ed734eef2bf /blob/nginx_rewrite_rules
parent4611b609e81cce6ba1269707ff7f483d285bcec3 (diff)
downloadfiles.iamfabulous.de-296d8a14511739a15327ffe30c0895cd3490e940.tar.gz
Doesn't show private files anymore and trying to write a empty_folder function.
Diffstat (limited to 'blob/nginx_rewrite_rules')
-rwxr-xr-xblob/nginx_rewrite_rules11
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;