diff options
author | makefu <github@syntax-fehler.de> | 2019-09-25 14:06:23 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-09-25 14:06:23 +0200 |
commit | b5d57ea99efb00a2e3ab08ed6b99b120976e7cf1 (patch) | |
tree | 7cc7cfc16ff643657f63fad8e6359424253a67ba /makefu/2configs/nginx | |
parent | 2148318cd5342b986058e9efeab5a48855810d7b (diff) |
ma nginx: use gzip settings, update hostname
Diffstat (limited to 'makefu/2configs/nginx')
-rw-r--r-- | makefu/2configs/nginx/euer.wiki.nix | 9 | ||||
-rw-r--r-- | makefu/2configs/nginx/misa-felix-hochzeit.ml.nix | 3 |
2 files changed, 2 insertions, 10 deletions
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; diff --git a/makefu/2configs/nginx/misa-felix-hochzeit.ml.nix b/makefu/2configs/nginx/misa-felix-hochzeit.ml.nix index 752612342..d54deeea2 100644 --- a/makefu/2configs/nginx/misa-felix-hochzeit.ml.nix +++ b/makefu/2configs/nginx/misa-felix-hochzeit.ml.nix @@ -2,8 +2,7 @@ { services.nginx = { enable = lib.mkDefault true; - virtualHosts."misa-felix-hochzeit.ml" = { - serverAliases = [ "misa-felix.ml" "www.misa-felix.ml" ]; + virtualHosts."misa-felix.ml" = { forceSSL = true; enableACME = true; locations = { |