Enable a Compression Header in Web Security Manager Premier | How To


When a user agent accesses a web server, the server can provide an optional header - accept-encoding header - which can specify the types of compression that the client supports. The server can then use one of the listed compression algorithms to compress the data that is returned to the client. Examples of the accept-encoding header include:

  • Accept-Encoding: gzip
  • Accept-Encoding: deflate, gzip;q=1.0, *;q=0.5

Because Alert Logic Web Security Manager Premier sits between clients and the backend servers, it must be explicitly configured to pass this header to the backend servers. The default configuration is that the header is not passed to the backend.

The following article describes how to change the default configuration so that Web Security Manager Premier can pass the accept-encoding header to the backend server.


  1. In the drop-down list at the top of the Alert Logic console, click WAF.

  2. Under Manage on the left side of the page, click Websites.

  3. Click Manage Website to the right of the website that you'd like to enable the header for.

  4. Under ADC, click Load balancing.

  5. Under Insert request headers, check the box to Enable insert request headers.

  6. Under Header, insert "Accept-Encoding". Under Value, insert "http_accept_encoding".


  7. Click Add New and then Save settings.

Once you have saved these changes, Web Security Manager Premier will pass the accept-encoding header to the backend server.

For full details of the accept-encoding HTTP header, refer to the Hypertext Transfer Protocol document.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.