Hello!
On Thu, Mar 18, 2010 at 06:24:30PM -0700, W. Andrew Loe III wrote:
> I have a Rails app that receives a POST and I would like to
> X-Accel-Redirect a file back to the client, but the fileserver is
> receiving a POST. Can I rewrite the HTTP method internally? I cannot
> find the documentation on this.
location /storage/ {
proxy_pass http://storage-backend...;
proxy_pass_method GET;
proxy_pass_request_body off;
proxy_set_header Content-Length "";
}
Maxim Dounin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx