From the doc, it said..
==========
location / {
# matches any query, since all queries begin with /, but regular
==========
But I am wondering, if it always start with /, why not use ^ instead?
e.g.
location ^/ {
location ^/documents/ {
on 2012-11-09 05:01
on 2012-11-09 05:02
On Fri, Nov 9, 2012 at 11:00 AM, Ryan Chan <ryanchan404@gmail.com>
wrote:
>
That'd require regexp.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.