File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,10 @@ static_resources:
129129 typed_config:
130130 "@type": type.googleapis.com/envoy.extensions.compression.gzip.compressor.v3.Gzip
131131 { {- end } }
132+ { {- if .PrometheusCompressionRemoveAcceptEncodingHeader } }
133+ response_direction_config:
134+ remove_accept_encoding_header: true
135+ { {- end } }
132136 { {- if eq .PrometheusCompressionLibrary " Brotli" } }
133137 { {- if .PrometheusCompressionChooseFirst } }
134138 choose_first: true
@@ -138,6 +142,10 @@ static_resources:
138142 typed_config:
139143 "@type": type.googleapis.com/envoy.extensions.compression.brotli.compressor.v3.Brotli
140144 { {- end } }
145+ { {- if .PrometheusCompressionRemoveAcceptEncodingHeader } }
146+ response_direction_config:
147+ remove_accept_encoding_header: true
148+ { {- end } }
141149 { {- if eq .PrometheusCompressionLibrary " Zstd" } }
142150 { {- if .PrometheusCompressionChooseFirst } }
143151 choose_first: true
You can’t perform that action at this time.
0 commit comments