From b5d57ea99efb00a2e3ab08ed6b99b120976e7cf1 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 25 Sep 2019 14:06:23 +0200 Subject: ma nginx: use gzip settings, update hostname --- makefu/2configs/nginx/euer.wiki.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'makefu/2configs/nginx/euer.wiki.nix') diff --git a/makefu/2configs/nginx/euer.wiki.nix b/makefu/2configs/nginx/euer.wiki.nix index 280622259..732c27784 100644 --- a/makefu/2configs/nginx/euer.wiki.nix +++ b/makefu/2configs/nginx/euer.wiki.nix @@ -75,6 +75,7 @@ in { services.nginx = { enable = mkDefault true; + recommendedGzipSettings = true; virtualHosts = { "${ext-dom}" = { #serverAliases = [ @@ -83,14 +84,6 @@ in { #]; forceSSL = true; enableACME = true; - # recommendedGzipSettings = true; - extraConfig = '' - gzip on; - gzip_buffers 4 32k; - gzip_types text/plain application/x-javascript text/css; - default_type text/plain; - - ''; locations = { "/" = { root = wiki-dir; -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/34200000.lock: No such file or directory (2)