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.
- In the drop-down list at the top of the Alert Logic console, click WAF.
- Under Manage on the left side of the page, click Websites.
- Click Manage Website to the right of the website that you'd like to enable the header for.
- Under ADC, click Load balancing.
- Under Insert request headers, check the box to Enable insert request headers.
- Under Header, insert "Accept-Encoding". Under Value, insert "http_accept_encoding".
- 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.