summaryrefslogtreecommitdiff
path: root/blob
diff options
context:
space:
mode:
authorHorus32014-03-10 23:35:53 +0100
committerHorus32014-03-10 23:35:53 +0100
commit967ec8c209eb118685076468ce7fef59e0452881 (patch)
treed9fd6e6a9acd927f8d112ad200c8837edff332dc /blob
parentd225afbdc4633b9a836decb717166f19f2c3440f (diff)
downloadfiles.iamfabulous.de-967ec8c209eb118685076468ce7fef59e0452881.tar.gz
folder for static content
Diffstat (limited to 'blob')
-rw-r--r--blob/nginx_rewrite_rules9
1 files changed, 5 insertions, 4 deletions
diff --git a/blob/nginx_rewrite_rules b/blob/nginx_rewrite_rules
index 662362c..0b925f3 100644
--- a/blob/nginx_rewrite_rules
+++ b/blob/nginx_rewrite_rules
@@ -1,11 +1,12 @@
location /robots.txt {} #stop rewriting the robots.txt
location /favicon.ico {}
-location ~* ^/.+[^/].+\.css {}
-location ~* ^/.+[^/].+\.png {}
+location /static {}
+#location ~* ^/.+[^/].+\.css {}
+#location ~* ^/.+[^/].+\.png {}
-location ~* ^/?login(\?[0-9a-zA-Z]+(=[0-9a-zA-Z]*)?)?$ {
- rewrite ^/?login(\?[0-9a-zA-Z]*(=[0-9a-zA-Z]*)?)? /index.php?task=login&arguments=$1 last;
+location ~* ^/?login(/?[a-z0-9]+=[a-z0-9]+(&[a-z0-9]+=[a-z0-9]+)?)?$ {
+ rewrite ^/?login([?/]?.*) /index.php?task=login&arguments=$1 last;
}
location ~* ^/?logout(/?\?[0-9a-zA-Z]+(=[0-9a-zA-Z]*)?)?$ {