2025-10-25 22:13:02 +02:00

11 lines
211 B
Nix

{ pkgs, config, ... }:
{
services.nginx = {
enable = true;
appendHttpConfig = ''
error_page 500 502 503 504 /500.html;
'';
};
environment.etc."nginx/html/500.html".source = ./500.html;
}