Forum: NGINX preserving POST data through error_page directive?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
sayeo87 (Guest)
on 2009-06-06 03:28
(Received via mailing list)
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:,2658,2658#msg-2658
This topic is locked and can not be replied to.