Oliver Davies
07fde36fb0
- Change domain to opdavies.uk as this works with HTTPS/SSL. - Switch Nginx to Caddy.
20 lines
383 B
Nix
20 lines
383 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
security.acme = {
|
|
acceptTerms = true;
|
|
|
|
certs = {
|
|
"opdavies.uk" = {
|
|
domain = "opdavies.uk";
|
|
dnsProvider = "cloudflare";
|
|
email = "oliver@oliverdavies.uk";
|
|
environmentFile = config.age.secrets.cloudflare-opdavies-uk.path;
|
|
webroot = null;
|
|
|
|
extraDomainNames = [ "*.opdavies.uk" ];
|
|
};
|
|
};
|
|
};
|
|
}
|