11 lines
220 B
Nix
11 lines
220 B
Nix
{website, ...}: {
|
|
networking.firewall.allowedTCPPorts = [80 443];
|
|
|
|
services.nginx = {
|
|
virtualHosts."buffet.sh" = {
|
|
useACMEHost = "buffet.sh";
|
|
forceSSL = true;
|
|
root = "${website}";
|
|
};
|
|
};
|
|
}
|