15.12. Appendix L: Disabling HTTP Compression

This section provides instructions for disabling HTTP compression in JBoss. This content applies to single-node EKM servers that do not use a front-end webserver, where clients connect directly to the HTTP port of JBoss to access EKM.

For instructions on disabling HTTP compression in a front-end web server, refer to Installing a Front-End Web Server.

HTTP compression is enabled by default in JBoss. It is not necessary under normal circumstances to disable HTTP compression, but if you need to do so, follow these instructions:

  1. On each EKM cluster node, stop the EKM server.

  2. Edit the JBoss domain configuration (see JBoss Domain Mode and Configuration):

  3. Find the undertow subsystem element, and find the server child element whose name attribute value is default-server. Find the host child element named default-host:

    <subsystem xmlns="urn:jboss:domain:undertow:3.0" instance-id="${jboss.server.name}">
      <buffer-cache name="default"/>
          <server name="default-server">
            <host name="default-host" alias="localhost">
  4. Under the host element, comment out the filter-ref child element named gzipFilter:

    <!--
    <filter-ref name="gzipFilter" 
     predicate="regex[pattern='(?:application/javascript|text/css|text/html)(;.*)?', 
     value=%{o,Content-Type}, full-match=true]"/>
    -->
    
  5. Find the undertow subsystem element, and find the filters child element.

  6. Under the filters element, comment out the gzip child element:

    <!--
    <gzip name="gzipFilter"/>
    -->
    
  7. On each EKM cluster node, start the EKM server.


Release 18.2 - © ANSYS, Inc. All rights reserved.