@@ -89,6 +89,41 @@ resources:
89
89
source_codes :
90
90
remove_apikey_query_parameter :
91
91
filename : /etc/envoy/remove_apikey_query_parameter.lua
92
+ - name : envoy.filters.http.compressor
93
+ typed_config :
94
+ '@type' : >-
95
+ type.googleapis.com/envoy.extensions.filters.http.compressor.v3.Compressor
96
+ response_direction_config :
97
+ common_config :
98
+ min_content_length : 100
99
+ content_type :
100
+ - application/vnd.pgrst.object+json
101
+ - application/vnd.pgrst.array+json
102
+ - application/openapi+json
103
+ - application/geo+json
104
+ - text/csv
105
+ - application/vnd.pgrst.plan
106
+ - application/vnd.pgrst.object
107
+ - application/vnd.pgrst.array
108
+ - application/javascript
109
+ - application/json
110
+ - application/xhtml+xml
111
+ - image/svg+xml
112
+ - text/css
113
+ - text/html
114
+ - text/plain
115
+ - text/xml
116
+ disable_on_etag_header : true
117
+ request_direction_config :
118
+ common_config :
119
+ enabled :
120
+ default_value : false
121
+ runtime_key : request_compressor_enabled
122
+ compressor_library :
123
+ name : text_optimized
124
+ typed_config :
125
+ '@type' : >-
126
+ type.googleapis.com/envoy.extensions.compression.gzip.compressor.v3.Gzip
92
127
- name : envoy.filters.http.router
93
128
typed_config :
94
129
'@type' : >-
@@ -181,12 +216,14 @@ resources:
181
216
retry_policy :
182
217
num_retries : 3
183
218
retry_on : 5xx
219
+ timeout : 35s
184
220
typed_per_filter_config : *ref_0
185
221
- match :
186
222
prefix : /auth/v1/
187
223
route :
188
224
cluster : gotrue
189
225
prefix_rewrite : /
226
+ timeout : 35s
190
227
- match :
191
228
prefix : /rest/v1/
192
229
query_parameters :
@@ -197,7 +234,7 @@ resources:
197
234
route :
198
235
cluster : postgrest
199
236
prefix_rewrite : /
200
- timeout : 120s
237
+ timeout : 125s
201
238
typed_per_filter_config :
202
239
envoy.filters.http.lua :
203
240
'@type' : >-
@@ -210,7 +247,7 @@ resources:
210
247
route :
211
248
cluster : postgrest
212
249
prefix_rewrite : /
213
- timeout : 120s
250
+ timeout : 125s
214
251
- match :
215
252
prefix : /rest-admin/v1/
216
253
query_parameters :
@@ -242,7 +279,7 @@ resources:
242
279
route :
243
280
cluster : postgrest
244
281
prefix_rewrite : /rpc/graphql
245
- timeout : 120s
282
+ timeout : 125s
246
283
- match :
247
284
prefix : /admin/v1/
248
285
route :
0 commit comments