nix-infra/hosts/ocelot/website.nix
2024-06-11 11:56:41 +02:00

17 lines
407 B
Nix

{ inputs, ... }: {
services.nginx = {
enable = true;
virtualHosts = {
"cherrykitten.dev" = {
extraConfig = "error_page 404 /404.html;";
forceSSL = true;
enableACME = true;
locations = {
"/" = {
root = "${inputs.cherrykitten-website.packages.x86_64-linux.website}/var/www/cherrykitten.dev";
};
};
};
};
};
}