Right now, you have this code:
# POST requests and URL with a query string should always go to php
if ($request_method = POST) {
set $skip_cache 0;
}
It should be:
# POST requests and URL with a query string should always go to php
if ($request_method = POST) {
set $skip_cache 1;
}