Homelab updates
- Change domain to opdavies.uk as this works with HTTPS/SSL. - Switch Nginx to Caddy.
This commit is contained in:
parent
f43069adac
commit
07fde36fb0
17 changed files with 98 additions and 64 deletions
19
nix/hosts/nixedo/modules/acme.nix
Normal file
19
nix/hosts/nixedo/modules/acme.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ 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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue