Recommended nginx settings

This commit is contained in:
Julien Hémono 2025-05-01 18:41:05 +02:00
parent 8c2a444b44
commit 28ccbe0f17
2 changed files with 11 additions and 0 deletions

View file

@ -10,6 +10,7 @@
./hardware-configuration.nix
# Supporting
./buckets.nix
./nginx.nix
./mailu.nix
# Services
./suite.nix

10
hosts/sesame/nginx.nix Normal file
View file

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