How to make brotli works in k8s with official nginx helm #408

Closed
opened 2026-01-29 20:43:23 +00:00 by claunia · 3 comments
Owner

Originally created by @DmitriyEsin on GitHub (Dec 15, 2021).

Hi guys!
Does anyone do brotli works in Kubernetes?

Originally created by @DmitriyEsin on GitHub (Dec 15, 2021). Hi guys! Does anyone do brotli works in Kubernetes?
Author
Owner

@DmitriyEsin commented on GitHub (Dec 15, 2021):

when i try to patch my ingress I got
Error: exit status 1 2021/12/15 14:38:28 [warn] 17936#17936: the "http2_max_field_size" directive is obsolete, use the "large_client_header_buffers" directive instead in /tmp/nginx-cfg126647862:143 nginx: [warn] the "http2_max_field_size" directive is obsolete, use the "large_client_header_buffers" directive instead in /tmp/nginx-cfg126647862:143 2021/12/15 14:38:28 [warn] 17936#17936: the "http2_max_header_size" directive is obsolete, use the "large_client_header_buffers" directive instead in /tmp/nginx-cfg126647862:144 nginx: [warn] the "http2_max_header_size" directive is obsolete, use the "large_client_header_buffers" directive instead in /tmp/nginx-cfg126647862:144 2021/12/15 14:38:28 [warn] 17936#17936: the "http2_max_requests" directive is obsolete, use the "keepalive_requests" directive instead in /tmp/nginx-cfg126647862:145 nginx: [warn] the "http2_max_requests" directive is obsolete, use the "keepalive_requests" directive instead in /tmp/nginx-cfg126647862:145 2021/12/15 14:38:28 [emerg] 17936#17936: unknown directive "brotli" in /tmp/nginx-cfg126647862:877 nginx: [emerg] unknown directive "brotli" in /tmp/nginx-cfg126647862:877 nginx: configuration file /tmp/nginx-cfg126647862 test failed

@DmitriyEsin commented on GitHub (Dec 15, 2021): when i try to patch my ingress I got `Error: exit status 1 2021/12/15 14:38:28 [warn] 17936#17936: the "http2_max_field_size" directive is obsolete, use the "large_client_header_buffers" directive instead in /tmp/nginx-cfg126647862:143 nginx: [warn] the "http2_max_field_size" directive is obsolete, use the "large_client_header_buffers" directive instead in /tmp/nginx-cfg126647862:143 2021/12/15 14:38:28 [warn] 17936#17936: the "http2_max_header_size" directive is obsolete, use the "large_client_header_buffers" directive instead in /tmp/nginx-cfg126647862:144 nginx: [warn] the "http2_max_header_size" directive is obsolete, use the "large_client_header_buffers" directive instead in /tmp/nginx-cfg126647862:144 2021/12/15 14:38:28 [warn] 17936#17936: the "http2_max_requests" directive is obsolete, use the "keepalive_requests" directive instead in /tmp/nginx-cfg126647862:145 nginx: [warn] the "http2_max_requests" directive is obsolete, use the "keepalive_requests" directive instead in /tmp/nginx-cfg126647862:145 2021/12/15 14:38:28 [emerg] 17936#17936: unknown directive "brotli" in /tmp/nginx-cfg126647862:877 nginx: [emerg] unknown directive "brotli" in /tmp/nginx-cfg126647862:877 nginx: configuration file /tmp/nginx-cfg126647862 test failed`
Author
Owner

@eustas commented on GitHub (Jan 10, 2022):

Hello. I believe it is ngx_brotli problem, not brotli itself.

@eustas commented on GitHub (Jan 10, 2022): Hello. I believe it is ngx_brotli problem, not brotli itself.
Author
Owner

@DmitriyEsin commented on GitHub (Jan 10, 2022):

Okay, thank you for answer.

@DmitriyEsin commented on GitHub (Jan 10, 2022): Okay, thank you for answer.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#408