From a53cb236bb6be031e8df791fdef2366b2d4abd30 Mon Sep 17 00:00:00 2001 From: Dan Garrick <59327926+dpgarrick@users.noreply.github.com> Date: Fri, 12 Jun 2020 13:14:13 +1200 Subject: [PATCH] Add enable="on" to set compression command (#9811) --- docs/compression/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/compression/README.md b/docs/compression/README.md index 8e183b31e..effafbc7a 100644 --- a/docs/compression/README.md +++ b/docs/compression/README.md @@ -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" ``` -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 ``` +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. ```bash