This is an automated email from the ASF dual-hosted git repository.

mlibbey pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  029d65d   Fix configuration details for gzip plugin
029d65d is described below

commit 029d65dc28cdbe05ec241dde0723e18309b2825c
Author: Miles Libbey <[email protected]>
AuthorDate: Wed Jun 29 14:19:59 2016 -0700

    Fix configuration details for gzip plugin
---
 doc/admin-guide/plugins/gzip.en.rst | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/doc/admin-guide/plugins/gzip.en.rst 
b/doc/admin-guide/plugins/gzip.en.rst
index 676940e..5ba8363 100644
--- a/doc/admin-guide/plugins/gzip.en.rst
+++ b/doc/admin-guide/plugins/gzip.en.rst
@@ -81,10 +81,10 @@ configuration provided with the plugin's source)::
 
     gzip.so <path-to-plugin>/sample.gzip.config
 
-This can be used as remap plugin by pointing to config file in remap rule 
+This can be used as remap plugin by pointing to config file in remap rule
 :file:`remap.config`::
 
-    @plugin=gzip.so @pparam=--config=<path-to-plugin>/sample.gzip.config 
+    @plugin=gzip.so @pparam=<path-to-plugin>/sample.gzip.config
 
 The following sections detail the options you may specify in the plugin's
 configuration file. Options may be used globally, or may be specified on a
@@ -105,13 +105,14 @@ compressible-content-type
 -------------------------
 
 Provides a wildcard to match against content types, determining which are to be
-considered compressible. This defaults to ``text/*``.
+considered compressible. This defaults to ``text/*``. Takes one Content-Type
+per line.
 
 disallow
 --------
 
 Provides a wildcard pattern which will be applied to request URLs. Any which
-match the pattern will be considered uncompressable, and only deflated versions
+match the pattern will be considered incompressible, and only deflated versions
 of the objects will be cached and returned to clients. This may be useful for
 objects which already have their own compression built-in, to avoid the expense
 of multiple rounds of compression for trivial gains.
@@ -119,7 +120,7 @@ of multiple rounds of compression for trivial gains.
 enabled
 -------
 
-When set to ``true`` permits objects to be compressed, and when ``false``
+When set to ``true`` (the default) permits objects to be compressed, and when 
``false``
 effectively disables the plugin in the current context.
 
 flush
@@ -149,9 +150,9 @@ might create a configuration with the following options::
 
     # Set some global options first
     cache true
-    enabled true
     remove-accept-encoding false
     compressible-content-type text/*
+    compressible-content-type application/json
     flush false
 
     # Now set a configuration for www.example.com
@@ -161,6 +162,10 @@ might create a configuration with the following options::
     disallow /notthis/*.js
     flush true
 
+    # This origin does it all
+    [bar.example.com]
+    enabled false
+
 Assuming the above options are in a file at ``/etc/trafficserver/gzip.config``
 the plugin would be enabled for |TS| in :file:`plugin.config` as::
 

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to