On Wed, Mar 03, 2021 at 12:02:44PM -0500, Drew Dixon wrote:

Hi there,

> 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.

Can you show the line, and the surrounding lines or other indentation
that indicates that your "proxy_buffering" directive is directly within
"server", and is not, for example, within an "if" within "server"?

The nginx contexts should be understood to be direct-only.

Cheers,

        f
-- 
Francis Daly        fran...@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to