summaryrefslogtreecommitdiff
path: root/blob/nginx_rewrite_rules
diff options
context:
space:
mode:
authorroot2014-03-26 03:07:06 +0100
committerroot2014-03-26 03:07:06 +0100
commite009b1e84dcbcc83f39652695eb86c6e64cc6a11 (patch)
treea4745e74da7f5ffc4b359ae5a8cb67aec9c770c9 /blob/nginx_rewrite_rules
parentf1840d40760abb9869bd218ca510eceb94f86478 (diff)
downloadfiles.iamfabulous.de-e009b1e84dcbcc83f39652695eb86c6e64cc6a11.tar.gz
Now conform to HTTP/1.1. Also integrated func_download.
Diffstat (limited to 'blob/nginx_rewrite_rules')
-rwxr-xr-xblob/nginx_rewrite_rules5
1 files changed, 4 insertions, 1 deletions
diff --git a/blob/nginx_rewrite_rules b/blob/nginx_rewrite_rules
index 1d6973d..34a4f20 100755
--- a/blob/nginx_rewrite_rules
+++ b/blob/nginx_rewrite_rules
@@ -24,11 +24,14 @@ location ~* ^/?invite/?(\?[0-9a-zA-Z]+(=[0-9a-zA-Z]*)?)?$ {
rewrite ^/?invite(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? /index.php?task=invite&arguments=$1 last;
}
-
location ~* ^/?user/?(\?[0-9a-zA-Z]+(=[0-9a-zA-Z]*)?)?$ {
rewrite ^/?user(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? /index.php?task=user&arguments=$1 last;
}
+location ~* ^/?download/?(\?[0-9a-zA-Z]+(=[0-9a-zA-Z]*)?)?$ {
+ rewrite ^/?download(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? /index.php?task=download&arguments=$1 last;
+}
+
#location ~* \.php(\?[0-9a-zA-Z]+(=[0-9a-zA-Z]*)?)?$ {} #empty block to catch all
location / {