mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
nixos/nginx: add recommended brotli settings
This commit is contained in:
parent
f3e20dbfb0
commit
4a7d0140a0
2 changed files with 62 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue