You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -609,9 +609,10 @@ There are some settings that should be reviewed and updated as needeed in the se
609
609
| CORS_CREDENTIALS | Configure whether or not to send the `Access-Control-Allow-Credentials` CORS header. Header will be sent if set to `true`. | none |
610
610
| CORS_METHODS | Configure whether or not to send the `Access-Control-Allow-Methods` CORS header. Expects a comma-delimited string, e.g., `GET,PUT,POST`. | `GET,HEAD,PUT,PATCH,POST,DELETE` |
611
611
| CORS_HEADERS | Configure whether or not to send the `Access-Control-Allow-Headers` CORS header. Expects a comma-delimited string, e.g., `Content-Type,Authorization`. If not specified, defaults to reflecting the headers specified in the request’s `Access-Control-Request-Headers` header. | none |
612
-
| ENABLE_COLLECTIONS_AUTHX | Enables support for hidden `_collections` query parameter / field when set to `true`. | none (not enabled) |
613
-
| ENABLE_THUMBNAILS | Enables support for presigned thumbnails. | none (not enabled) |
614
-
| ENABLE_INGEST_ACTION_TRUNCATE | Enables support for ingest action "truncate". | none (not enabled) |
612
+
| ENABLE_COLLECTIONS_AUTHX | Enables support for hidden `_collections` query parameter / field when set to `true`. | none (not enabled) |
613
+
| ENABLE_THUMBNAILS | Enables support for presigned thumbnails. | none (not enabled) |
614
+
| ENABLE_INGEST_ACTION_TRUNCATE | Enables support for ingest action "truncate". | none (not enabled) |
615
+
| ENABLE_RESPONSE_COMPRESSION | Enables response compression. Set to 'false' to disable. | enabled |
615
616
616
617
Additionally, the credential for OpenSearch must be configured, as decribed in the
617
618
section [Populating and accessing credentials](#populating-and-accessing-credentials).
@@ -1293,6 +1294,10 @@ The post-hook Lambda configuration may reference any Lambda, not only one deploy
1293
1294
of this stack. There is an example post-hook Lambda that can be included with this stack,
1294
1295
which provides an example of how to interact with the response, but does not modify it.
1295
1296
1297
+
If compression is enabled with `ENABLE_RESPONSE_COMPRESSION`, you should ensure that the
1298
+
post-hook deployed handles compressed responses, or for the example post-hook lambda,
1299
+
disable compression.
1300
+
1296
1301
To enable this example post-hook:
1297
1302
1298
1303
- Modify bin/build.sh to not exclude the "post-hook" package from being built.
0 commit comments