From 5e8acd1b3703b422203a94ddd8e24c28ca65e940 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Fri, 6 Apr 2018 16:53:51 +0200 Subject: [PATCH] nginx: enable gzip --- mastus/website.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mastus/website.nix b/mastus/website.nix index fe4aece..fa846c7 100644 --- a/mastus/website.nix +++ b/mastus/website.nix @@ -42,6 +42,9 @@ root /srv/www.gebner.org; error_page 404 403 /404.html; + gzip on; + gzip_types image/x-icon text/html image/svg+xml text/css; + access_log logs/website_access.log; location / {