This is how we handle those special cases for the unit tests on the build server.
```
# Support POST to static files - jQuery Core Unit Tests
error_page 405 =200 @405;
location @405 {
    proxy_method GET;
    proxy_pass http://localhost;
    proxy_set_header Host builds.jenkins.jquery.com;
}

# Support this funky url for jsonp.php - jQuery Core Unit Tests
rewrite ^(.*)data/jsonp.php.*$ $1data/jsonp.php;