nic-6443 commented on issue #5347:
URL: https://github.com/apache/apisix/issues/5347#issuecomment-968201045
@zhendongcmss Check if the proxy-mirror plugin is enabled(by default will
enable). If this plugin is enabled, apisix adds the mirror directive in "/"
location, which will cause `proxy_request_buffering off;` to be disabled.
```
{% if enabled_plugins["proxy-mirror"] then %}
mirror /proxy_mirror;
{% end %}
```
http://nginx.org/en/docs/http/ngx_http_mirror_module.html
> Indicates whether the client request body is mirrored. When enabled, the
client request body will be read prior to creating mirror subrequests. In this
case, unbuffered client request body proxying set by the
proxy_request_buffering, fastcgi_request_buffering, scgi_request_buffering, and
uwsgi_request_buffering directives will be disabled.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]