Alexander Wels has uploaded a new change for review.

Change subject: userportal, webadmin: configure mod_deflate apache
......................................................................

userportal, webadmin: configure mod_deflate apache

- Configured mod_deflate on install. The module was
installed, however nothing configured to use it.
This will enable compression for a lot of the text mime
types.

Change-Id: Ic10dd91a91158c36bc4807a07a87510c9688c8f0
Signed-off-by: Alexander Wels <aw...@redhat.com>
---
M packaging/fedora/setup/ovirt-engine-proxy.conf.in
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/37/13537/1

diff --git a/packaging/fedora/setup/ovirt-engine-proxy.conf.in 
b/packaging/fedora/setup/ovirt-engine-proxy.conf.in
index e51e934..16c23a2 100644
--- a/packaging/fedora/setup/ovirt-engine-proxy.conf.in
+++ b/packaging/fedora/setup/ovirt-engine-proxy.conf.in
@@ -21,7 +21,12 @@
 # (controlled by the Timeout directive in httpd.conf) is 60 seconds.
 #
 #end raw
-ProxyPass / ajp://localhost:${basedefs.JBOSS_AJP_PORT}/ retry=5 timeout=3600
+<Location />
+  ProxyPass ajp://localhost:${basedefs.JBOSS_AJP_PORT}/ retry=5 timeout=3600
+  <IfModule mod_deflate.c>
+    AddOutputFilterByType DEFLATE text/javascript text/css text/html text/xml 
text/json application/xml application/json application/x-yaml
+  </IfModule>
+</Location>
 
 #raw
 #


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic10dd91a91158c36bc4807a07a87510c9688c8f0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexander Wels <aw...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to