Welcome! Log In Create A New Profile

Advanced

proxy_buffering context and unexpected error

Drew Dixon
March 03, 2021 12:04PM
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!
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_buffering context and unexpected error

Drew Dixon March 03, 2021 12:04PM

Re: proxy_buffering context and unexpected error

Francis Daly March 03, 2021 12:42PM

Re: proxy_buffering context and unexpected error

Drew Dixon March 03, 2021 02:54PM

Re: proxy_buffering context and unexpected error

Francis Daly March 03, 2021 03:16PM

Re: proxy_buffering context and unexpected error

Drew Dixon March 03, 2021 03:30PM

Re: proxy_buffering context and unexpected error

Fatma MAZARI March 04, 2021 06:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 301
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready