x-accel-redirect enables caching for POST requests
mdounin at mdounin.ru
Tue Feb 9 18:15:18 UTC 2016
On Tue, Feb 09, 2016 at 01:06:21PM -0500, gglater62 wrote:
> Are POST disallowed for X-Accel-Redirect?
> There is setup:
> nginx sends requests to Apache, which replies with X-Accel-Redirect and
> In X-Accel-Redirect there is path to php script, then nginx did do POST or
> GET to that script, but it stopped to work since 1.9.10.
> Is there a possibility to preserve original $request_method? How to make it
> work without patching nginx?
Original request method is preserved when using X-Accel-Redirect
to a named location.
More information about the nginx