[wgo-web/nginx] Enable compression



commit 11c36d84d616eee87299a1a03317fda28e56e7bd
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Jan 12 09:14:27 2021 +0100

    Enable compression

 nginx.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/nginx.conf b/nginx.conf
index 5d3f8f8..7e9dee8 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -29,7 +29,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]