@@ -103,7 +103,78 @@ resources:
103
103
request_handle
104
104
:headers()
105
105
:replace(":path", path:gsub("&=[^&]*", ""):gsub("?=[^&]*$", ""):gsub("?=[^&]*&", "?"))
106
+
106
107
end
108
+ - name : envoy.filters.http.compressor.brotli
109
+ typed_config :
110
+ '@type' : >-
111
+ type.googleapis.com/envoy.extensions.filters.http.compressor.v3.Compressor
112
+ response_direction_config :
113
+ common_config :
114
+ min_content_length : 100
115
+ content_type :
116
+ - application/vnd.pgrst.object+json
117
+ - application/vnd.pgrst.array+json
118
+ - application/openapi+json
119
+ - application/geo+json
120
+ - text/csv
121
+ - application/vnd.pgrst.plan
122
+ - application/vnd.pgrst.object
123
+ - application/vnd.pgrst.array
124
+ - application/javascript
125
+ - application/json
126
+ - application/xhtml+xml
127
+ - image/svg+xml
128
+ - text/css
129
+ - text/html
130
+ - text/plain
131
+ - text/xml
132
+ disable_on_etag_header : true
133
+ request_direction_config :
134
+ common_config :
135
+ enabled :
136
+ default_value : false
137
+ runtime_key : request_compressor_enabled
138
+ compressor_library :
139
+ name : text_optimized
140
+ typed_config :
141
+ '@type' : >-
142
+ type.googleapis.com/envoy.extensions.compression.brotli.compressor.v3.Brotli
143
+ - name : envoy.filters.http.compressor.gzip
144
+ typed_config :
145
+ '@type' : >-
146
+ type.googleapis.com/envoy.extensions.filters.http.compressor.v3.Compressor
147
+ response_direction_config :
148
+ common_config :
149
+ min_content_length : 100
150
+ content_type :
151
+ - application/vnd.pgrst.object+json
152
+ - application/vnd.pgrst.array+json
153
+ - application/openapi+json
154
+ - application/geo+json
155
+ - text/csv
156
+ - application/vnd.pgrst.plan
157
+ - application/vnd.pgrst.object
158
+ - application/vnd.pgrst.array
159
+ - application/javascript
160
+ - application/json
161
+ - application/xhtml+xml
162
+ - image/svg+xml
163
+ - text/css
164
+ - text/html
165
+ - text/plain
166
+ - text/xml
167
+ disable_on_etag_header : true
168
+ request_direction_config :
169
+ common_config :
170
+ enabled :
171
+ default_value : false
172
+ runtime_key : request_compressor_enabled
173
+ compressor_library :
174
+ name : text_optimized
175
+ typed_config :
176
+ '@type' : >-
177
+ type.googleapis.com/envoy.extensions.compression.gzip.compressor.v3.Gzip
107
178
- name : envoy.filters.http.router
108
179
typed_config :
109
180
'@type' : >-
@@ -343,4 +414,3 @@ resources:
343
414
filename : /etc/envoy/fullChain.pem
344
415
private_key :
345
416
filename : /etc/envoy/privKey.pem
346
-
0 commit comments