Forum: NGINX preserving POST data through error_page directive?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community 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:
http://forum.nginx.org/read.php?2,2658,2658#msg-2658
This topic is locked and can not be replied to.