nginx: configuration recommended
This commit is contained in:
parent
a41d4ab911
commit
d98c1e47ce
2 changed files with 11 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./nginx.nix
|
||||
./virtualisation.nix
|
||||
];
|
||||
}
|
||||
|
|
10
profiles/vm/nginx.nix
Normal file
10
profiles/vm/nginx.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.nginx = {
|
||||
recommendedTlsSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedProxySettings = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue