mirror of
https://github.com/minio/minio.git
synced 2025-04-18 17:55:28 -04:00
Add enable="on" to set compression command (#9811)
This commit is contained in:
parent
761992ca89
commit
a53cb236bb
@ -27,11 +27,16 @@ Default config includes most common highly compressible content extensions and m
|
|||||||
$ mc admin config set myminio compression extensions=".pdf" mime_types="application/pdf"
|
$ mc admin config set myminio compression extensions=".pdf" mime_types="application/pdf"
|
||||||
```
|
```
|
||||||
|
|
||||||
To enable compression for all content, with default extensions and mime-types.
|
To show help on setting compression config values.
|
||||||
```
|
```
|
||||||
~ mc admin config set myminio compression
|
~ mc admin config set myminio compression
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To enable compression for all content, with default extensions and mime-types.
|
||||||
|
```
|
||||||
|
~ mc admin config set myminio compression enable="on"
|
||||||
|
```
|
||||||
|
|
||||||
The compression settings may also be set through environment variables. When set, environment variables override the defined `compress` config settings in the server config.
|
The compression settings may also be set through environment variables. When set, environment variables override the defined `compress` config settings in the server config.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user