1 { pkgs, lib, config, ... }:
2 let inherit (config) networking;
3 inherit (config.services) nginx;
8 serverName = "www.${networking.domain}";
11 ++ config.networking.domainAliases
12 ++ map (domainAlias: "www." + domainAlias)
13 config.networking.domainAliases;
16 #sslCertificate = nginx.virtualHosts."_".sslCertificate;
17 #sslCertificateKey = nginx.virtualHosts."_".sslCertificateKey;
18 globalRedirect = "git.${networking.domain}";