x-accel-redirect enables caching for POST requests

gglater62 nginx-forum at forum.nginx.org
Tue Feb 9 18:06:21 UTC 2016


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?

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263661,264437#msg-264437

More information about the nginx mailing list