Alexander Wels has uploaded a new change for review.

Change subject: webadmin: enable gzip compression
......................................................................

webadmin: enable gzip compression

- Enabled gzip compression for text mime types in
jboss configuration.

Change-Id: I7c0c5f88c1f58fc98775734f075bfa0bc867f8fc
Signed-off-by: Alexander Wels <[email protected]>
---
M backend/manager/conf/standalone.xml
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/11/10911/1

diff --git a/backend/manager/conf/standalone.xml 
b/backend/manager/conf/standalone.xml
index 370adcf..eda0c64 100644
--- a/backend/manager/conf/standalone.xml
+++ b/backend/manager/conf/standalone.xml
@@ -27,6 +27,10 @@
         <extension module="org.jboss.as.webservices"/>
         <extension module="org.jboss.as.weld"/>
     </extensions>
+    <system-properties>
+        <property name="org.apache.coyote.http11.Http11Protocol.COMPRESSION" 
value="on"/>
+        <property 
name="org.apache.coyote.http11.Http11Protocol.COMPRESSION_MIME_TYPES" 
value="text/javascript,text/css,text/html,text/xml,text/json"/>
+    </system-properties>
 
     <management>
         <security-realms>
@@ -380,4 +384,9 @@
             <remote-destination host="localhost" port="25"/>
         </outbound-socket-binding>
     </socket-binding-group>
+
+    <system-properties>
+        <property name="org.apache.coyote.http11.Http11Protocol.COMPRESSION" 
value="on"/>
+        <property 
name="org.apache.coyote.http11.Http11Protocol.COMPRESSION_MIME_TYPES" 
value="text/javascript,text/css,text/html,text/xml,text/json,image/png,image/ico,image/gif"/>
+    </system-properties>
 </server>


--
To view, visit http://gerrit.ovirt.org/10911
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c0c5f88c1f58fc98775734f075bfa0bc867f8fc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexander Wels <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to