Hi, There is location ~ ^/blahblah/ { internal; } There is also Apache which set header X-Accel-Redirect. For example X-Accel-Redirect: /blahblah/1 but also set other headers. How in nginx copy all these headers to the client? Do you know such a module? Or how to write something like this? _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.orgby gglater62 - Nginx Mailing List - English
I found a workaround: set $method $request_method; if ($request ~ ^POST) { set $method POST; } fastcgi_param REQUEST_METHOD $method;by gglater62 - Nginx Mailing List - English
Hi, Are POST disallowed for X-Accel-Redirect? There is setup: nginx sends requests to Apache, which replies with X-Accel-Redirect and X-Path-Info. 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?by gglater62 - Nginx Mailing List - English