In Nginx 0.6.37, when I get a POST request, and put it through a 404
error_page directive, when it reaches the next location the POST data is
lost. I also tried a rewrite instead, like:
if (!-e $request_filename) {
rewrite ^/(.*) /proxy$uri last;
and that yields the same result.
Will using the internal location redirect using the “@” symbol work in
this case? If it does I will think of getting the new version. Thanks.
Posted at Nginx Forum: