summaryrefslogtreecommitdiff
path: root/aphrodite/http/default.nix
blob: 22a39b2cea27b1de00bb3a564563fde90dd16fd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
{config, ...}: let
  customDomain = config.customOps.domain.fqdn;
in {
  services.nginx.virtualHosts.${customDomain} = {
    root = "/var/www/${customDomain}";
    forceSSL = true;
    enableACME = true;
  };
}