proxy_buffering context and unexpected error
Drew Dixon
dwdixon at umich.edu
Wed Mar 3 17:02:44 UTC 2021
Hi,
In my testing I desired to disable proxy_buffering per:
https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering
Which states that this is valid within the server context, however whenever
I attempt to set proxy_buffering to off (proxy_buffering off;) within my
server configuration context I receive the error message below:
nginx[6203]: nginx: [emerg] "proxy_buffering" directive is not allowed here
in /etc/nginx/conf.d/test.conf
This is clearly within the server context in my config. I am able,
however, to use this within the default /etc/nginx/nginx.conf *http*
context without error.
I wanted to report this to see if someone could shed some light on this or
if this may be a bug or an error with the documentation?
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20210303/98b39801/attachment.htm>
More information about the nginx
mailing list