home-server/services/blog.nix

18 lines
272 B
Nix
Raw Normal View History

2026-03-10 19:14:02 -07:00
{ ... }:
{
2026-03-10 19:27:33 -07:00
systemd.tmpfiles.rules = [
"d /var/www/blog 0755 ellie nginx -"
];
2026-03-10 19:17:44 -07:00
services.nginx.virtualHosts."ellie.town" = {
enableACME = true;
forceSSL = true;
root = "/var/www/blog";
2026-03-10 19:14:02 -07:00
2026-03-10 19:17:44 -07:00
locations."/" = {
index = "index.html";
2026-03-10 19:14:02 -07:00
};
};
}