rice/hosts/ami/website.nix

12 lines
220 B
Nix
Raw Normal View History

2024-01-25 15:54:05 +00:00
{website, ...}: {
networking.firewall.allowedTCPPorts = [80 443];
services.nginx = {
virtualHosts."buffet.sh" = {
useACMEHost = "buffet.sh";
2024-01-25 15:54:05 +00:00
forceSSL = true;
root = "${website}";
};
};
}