The 'if' configuration is lacking the ability to conjoin predicates. It is already possible to have alternatives (this 'or' that) by having several tests. But it is not possible to have this 'and' that tests.
Please add syntax to support multiple predicates.
Possible implementation suggestion: new 'and' keyword between the existing predicates:
[code]
if ($request_method = POST ) and (!-f $request_filename) {
break;
proxy_pass http://127.0.0.1;
}
[/code]
(this example isn't necessarily a good one - it's the first thing that came to mind!)