feat: add error pages to nginx on bekkalokk

This commit is contained in:
Adrian G L
2025-10-02 22:03:44 +02:00
parent 3faad36418
commit 1973989be9
3 changed files with 118 additions and 1 deletions

View File

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