nixos/nginx: add recommended brotli settings

This commit is contained in:
Izorkin 2022-08-23 14:07:41 +03:00
parent f3e20dbfb0
commit 4a7d0140a0
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09
2 changed files with 62 additions and 4 deletions

View file

@ -820,10 +820,10 @@ in
services.nginx = lib.mkIf cfg.nginx.enable {
enable = true;
additionalModules = [ pkgs.nginxModules.brotli ];
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedBrotliSettings = true;
recommendedGzipSettings = true;
recommendedProxySettings = true;