infrastructure/defaults/webserver/default.nix

19 lines
316 B
Nix
Raw Normal View History

2024-10-02 15:52:04 +02:00
{
config,
lib,
pkgs,
...
}:
{
services.nginx = {
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedGzipSettings = true;
recommendedBrotliSettings = true;
logError = "stderr warn";
proxyResolveWhileRunning = true;
};
}