diff options
-rw-r--r-- | static.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/static.nix b/static.nix index 378198a..8d0291f 100644 --- a/static.nix +++ b/static.nix @@ -50,10 +50,13 @@ in { additionalModules = [ pkgs.nginxModules.pam ]; appendHttpConfig = '' access_log off; + brotli_types text/html image/png image/jpeg; + gzip_types image/png image/jpeg; ''; enable = true; enableReload = true; logError = "/dev/null"; + recommendedBrotliSettings = true; recommendedGzipSettings = true; recommendedOptimisation = true; recommendedProxySettings = true; |