I found a workaround: set $method $request_method; if ($request ~ ^POST) { set $method POST; } fastcgi_param REQUEST_METHOD $method; Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263661,264447#msg-264447