internal X-Accel-Redirect for PUT

Jakub Moscicki Jakub.Moscicki at cern.ch
Wed Jan 11 15:03:34 UTC 2017


Hello,

Was there a change of behaviour as per how PUT requests are redirected via X-Accel-Redirect between 1.6.2 and 1.10.2 versions?

In nginx 1.6.2 the PUT request from the client is internally redirected as PUT via X-Accel-Redirect. In 1.10.2 it is redirected as GET. So the method name is changes when the redirect happens.

The redirect is between two upstream servers (and not the client) via an internal location.

Is there a way to achieve 1.6.2 behaviour?

Here is the diagram to clarify what happens:


[cid:B0590114-1D8A-4D13-998D-7AB0FBE2FA63 at cern.ch]




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20170111/f2b63682/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.png
Type: image/png
Size: 39902 bytes
Desc: PastedGraphic-1.png
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20170111/f2b63682/attachment-0001.png>


More information about the nginx-devel mailing list