infra/hosts/web02/default.nix
zowoq 01c2beb7b4 modules/nixos: add nginx
- set worker_processes / worker_cpu_affinity to auto, enable pcre_jit

- enable ktls

- set a default virtualHost for a 404 and use it for reuseport

- set enableACME, forceSSL by default, disable for localhost

- set robots header and file
2024-10-08 23:48:11 +00:00

10 lines
161 B
Nix

{ inputs, ... }:
{
imports = [
./gandi.nix
inputs.self.nixosModules.monitoring
inputs.self.nixosModules.nginx
];
networking.useDHCP = true;
}