diff options
| author | Horus3 | 2014-03-10 23:35:53 +0100 |
|---|---|---|
| committer | Horus3 | 2014-03-10 23:35:53 +0100 |
| commit | 967ec8c209eb118685076468ce7fef59e0452881 (patch) | |
| tree | d9fd6e6a9acd927f8d112ad200c8837edff332dc /blob/nginx_rewrite_rules | |
| parent | d225afbdc4633b9a836decb717166f19f2c3440f (diff) | |
| download | files.iamfabulous.de-967ec8c209eb118685076468ce7fef59e0452881.tar.gz | |
folder for static content
Diffstat (limited to 'blob/nginx_rewrite_rules')
| -rw-r--r-- | blob/nginx_rewrite_rules | 9 |
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]*)?)?$ { |
