access_log off;
log_not_found off;
'';
+ forceSSL = true;
+ useACMEHost = domain;
root = pkgs.writeTextFile {
name = "autoconfig";
destination = "/mail/config-v1.1.xml";
map (domainAlias: "git." + domainAlias)
config.networking.domainAliases;
forceSSL = false;
- enableSSL = true;
useACMEHost = domain;
locations = {
"/" = {
++ map (domainAlias: "www." + domainAlias)
config.networking.domainAliases;
forceSSL = false;
- enableSSL = true;
useACMEHost = domain;
globalRedirect = "git.${networking.domain}";
};