diff options
author | Chaoyi Zha <summermontreal@gmail.com> | 2015-06-05 01:56:38 +0300 |
---|---|---|
committer | Chaoyi Zha <summermontreal@gmail.com> | 2015-06-05 01:56:38 +0300 |
commit | 1e9e5a7f513d0fe54c64c54e745bf3d2ef4688b0 (patch) | |
tree | 4efaf776fece8ebe6851cedfb7f5abc73da78225 | |
parent | 327e3c91edfeeed4fe267173ab3d04167dc1d84f (diff) |
Fix #88 - route t- URLs correctly.
-rw-r--r-- | .nginx-config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.nginx-config b/.nginx-config index b894047..4d63f0e 100644 --- a/.nginx-config +++ b/.nginx-config @@ -18,7 +18,7 @@ server { rewrite ^/([a-zA-Z0-9]+)/?$ /r.php?u=$1; rewrite ^/?\+([a-zA-Z0-9]+)$ /stats.php?bv=$1; } - location /t { + location /t- { rewrite ^/t-([a-zA-Z0-9]+)/?$ /r.php?u=t-$1; } location /api { |