rice/hosts/ami/404.nix

18 lines
361 B
Nix
Raw Normal View History

{website, ...}: {
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts."404.buffet.sh" = {
default = true;
enableACME = true;
forceSSL = true;
root = "${website}/404.html";
};
};
}