rice/hosts/ami/website.nix
buffet 0be7cf6093 Revert "feat: add name.buffet.sh"
This reverts commit ab4f5e28485febe9f9fad533ef02cf4db6655469.
2024-05-20 12:06:16 +02:00

18 lines
377 B
Nix

{website, ...}: {
networking.firewall.allowedTCPPorts = [80 443];
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts."buffet.sh" = {
enableACME = true;
forceSSL = true;
root = "${website}";
};
};
}