rice/hosts/ami/404.nix

17 lines
369 B
Nix

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