nginx: configuration recommended

This commit is contained in:
korenstin 2025-10-07 21:18:38 +02:00
parent a41d4ab911
commit d98c1e47ce
Signed by: korenstin
GPG key ID: 0FC4734F279D20A1
2 changed files with 11 additions and 0 deletions

View file

@ -3,6 +3,7 @@
{
imports = [
./hardware-configuration.nix
./nginx.nix
./virtualisation.nix
];
}

10
profiles/vm/nginx.nix Normal file
View file

@ -0,0 +1,10 @@
{ ... }:
{
services.nginx = {
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedProxySettings = true;
};
}