drewzboto/grunt-connect-proxy — pull request #38 by amercier (2013-12-07 21:26:23+00:00)
Title: Moved proxy middleware before static files in README's configuration example

Prioritzing static files over proxied files can lead to confusion. As an example, take this use case:

1. I have a project with the following structure:

```
- api
|- script1.php
|- script2.php
- index.html
``

2. I have a PHP server running on port 8000
3. I want a connect server:
- serving index.html and other static files
- redirecting /api/script1.php and /api/script2.php to my PHP server

With the current configuration example, PHP files will be served by connect and not proxied to the PHP server. The current example in README can lead to confusion, as files are served anyway. I think in most cases users will want the same behavior as my example. This PR adresses this.