diff --git a/module.nix b/module.nix index da5de1a..6ae052c 100644 --- a/module.nix +++ b/module.nix @@ -105,9 +105,7 @@ in serverAliases = cfg.hostNameAliases; forceSSL = true; enableACME = true; - extraConfig = hsts + '' - gzip off; - ''; + extraConfig = hsts; locations."/static/".alias = "${static}/"; locations."/media/".alias = "${cfg.stateDir}/media/"; locations."= /favicon.ico".return = "404"; @@ -116,6 +114,7 @@ in extraConfig = '' proxy_set_header Host $host; proxy_set_header X-Forwarded-For $remote_addr; + gzip off; ''; }; };