Did not try to verify this, but if I understand your example config
correctly it may be related to the way nginx processes "location"
To quote http://nginx.org/en/docs/http/request_processing.html
nginx first searches for the most specific prefix location given by literal
> strings regardless of the listed order. In the configuration above the only
> prefix location is “/” and since it matches any request it will be used
> as a last resort. Then nginx checks locations given by regular expression
> in the order listed in the configuration file. The first matching
> expression stops the search and nginx will use this location. If no regular
> expression matches a request, then nginx uses the most specific prefix
> location found earlier.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.