Recommended nginx settings

This commit is contained in:
Julien Hémono 2025-05-01 18:41:05 +02:00
parent 8c2a444b44
commit 7ee6d7c77d
3 changed files with 11 additions and 1 deletions

View file

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

View file

@ -12,7 +12,6 @@ in {
enableACME = true;
locations."/" = {
proxyPass = "https://localhost:8081";
recommendedProxySettings = true;
};
};
};

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;
};
}