mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-11-05 03:28:02 +01:00
11 lines
211 B
Nix
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;
|
|
}
|