<div dir="ltr"><div dir="ltr">Hi there, thanks for the quick reply, sure, the config is rather simple for some initial testing, I'm not sure the directive being turned off will have any effect w/ the present config but the directive is not within any "if" within the "server" context and seems to be throwing an error when I would expect it not to:<input name="virtru-metadata" type="hidden" value="{"email-policy":{"state":"closed","expirationUnit":"days","disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"enableNoauth":false,"persistentProtection":false,"expandedWatermarking":false,"expires":false,"isManaged":false},"attachments":{},"compose-id":"11","compose-window":{"secure":false}}"><div><br>/etc/nginx/conf.d/test.conf:<br>```</div><div>stream {<br>    upstream upstreams {<br>        least_conn;<br>        server <a href="http://192.168.1.100:9998" target="_blank">192.168.1.100:9998</a>;<br>        server <a href="http://192.168.1.101:9998" target="_blank">192.168.1.101:9998</a>;<br>        server <a href="http://192.168.1.102:9998" target="_blank">192.168.1.102:9998</a>;<br>    }<br><br>    server {<br>        proxy_buffering off;<br>        listen 9998 udp;<br>        proxy_pass upstreams;<br>        proxy_timeout 1s;<br>        proxy_responses 0;<br>        error_log /var/log/nginx/test-lb.log;<br>    }<br>}<br>```</div><div><br></div><div>Thank you!<br></div></div><br><div class="gmail_quote" style=""><div dir="ltr" class="gmail_attr">On Wed, Mar 3, 2021 at 12:40 PM Francis Daly <<a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Mar 03, 2021 at 12:02:44PM -0500, Drew Dixon wrote:<br>
<br>
Hi there,<br>
<br>
> Which states that this is valid within the server context, however whenever<br>
> I attempt to set proxy_buffering to off (proxy_buffering off;) within my<br>
> server configuration context I receive the error message below:<br>
> <br>
> nginx[6203]: nginx: [emerg] "proxy_buffering" directive is not allowed here<br>
> in /etc/nginx/conf.d/test.conf<br>
> <br>
> This is clearly within the server context in my config.<br>
<br>
Can you show the line, and the surrounding lines or other indentation<br>
that indicates that your "proxy_buffering" directive is directly within<br>
"server", and is not, for example, within an "if" within "server"?<br>
<br>
The nginx contexts should be understood to be direct-only.<br>
<br>
Cheers,<br>
<br>
        f<br>
-- <br>
Francis Daly        <a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div>
</div>