mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Improve handling of compression inclusion for objects (#19234)
This commit is contained in:
@@ -59,6 +59,14 @@ export MINIO_COMPRESSION_EXTENSIONS=".txt,.log,.csv,.json,.tar,.xml,.bin"
|
||||
export MINIO_COMPRESSION_MIME_TYPES="text/*,application/json,application/xml"
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> To enable compression for all content when using environment variables, set either or both of the extensions and MIME types to `*` instead of an empty string:
|
||||
> ```bash
|
||||
> export MINIO_COMPRESSION_ENABLE="on"
|
||||
> export MINIO_COMPRESSION_EXTENSIONS="*"
|
||||
> export MINIO_COMPRESSION_MIME_TYPES="*"
|
||||
> ```
|
||||
|
||||
### 3. Compression + Encryption
|
||||
|
||||
Combining encryption and compression is not safe in all setups.
|
||||
|
||||
Reference in New Issue
Block a user