Skip to content

Commit ea7fa26

Browse files
committed
Docs: Clarify BusyBuffersSize annotation handling
1 parent 45ef3b8 commit ea7fa26

File tree

1 file changed

+2
-1
lines changed
  • internal/ingress/annotations/proxy

1 file changed

+2
-1
lines changed

internal/ingress/annotations/proxy/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ func (a proxy) Parse(ing *networking.Ingress) (interface{}, error) {
301301
config.BufferSize = defBackend.ProxyBufferSize
302302
}
303303

304-
// Only set BusyBuffersSize if annotation is present
304+
// Only set BusyBuffersSize if annotation is present, blank is NGINX default
305+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_busy_buffers_size
305306
config.BusyBuffersSize, err = parser.GetStringAnnotation(proxyBusyBuffersSizeAnnotation, ing, a.annotationConfig.Annotations)
306307
if err != nil {
307308
config.BusyBuffersSize = ""

0 commit comments

Comments
 (0)