[blogs] Enable compression



commit d24da21990daa65ea39bbdc2b3b003bd11b42928
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Jan 12 09:01:52 2021 +0100

    Enable compression

 nginx.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/nginx.conf b/nginx.conf
index b4cb227..ed8e751 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -22,7 +22,9 @@ http {
 
     keepalive_timeout  65;
 
-    #gzip  on;
+    gzip on;
+    gzip_vary on;
+    gzip_types text/plain text/css text/javascript image/svg+xml image/x-icon application/javascript 
application/x-javascript;
 
     upstream php-fpm {
         server localhost:9000;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]