Welcome! Log In Create A New Profile

Advanced

preserving POST data through error_page directive?

June 05, 2009 07:15PM
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:
[code]
if (!-e $request_filename) {
rewrite ^/(.*) /proxy$uri last;
[/code]
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.
Subject Author Posted

preserving POST data through error_page directive?

sayeo87 June 05, 2009 07:15PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 309
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready