feat: outinul.ie now has ssl #137

Merged
silver merged 1 commit from #136_improve-ssh-certs into main 2024-11-05 17:41:14 +00:00
2 changed files with 4 additions and 4 deletions

View file

@ -32,13 +32,13 @@ in {
defaults = { defaults = {
email = "admin_acme@skynet.ie"; email = "admin_acme@skynet.ie";
# we use our own dns authorative server for verifying we own the domain.
dnsProvider = "rfc2136";
credentialsFile = config.age.secrets.acme.path; credentialsFile = config.age.secrets.acme.path;
}; };
certs = { certs = {
"skynet" = { "skynet" = {
# we use our own dns authorative server for verifying we own the domain.
dnsProvider = "rfc2136";
domain = "skynet.ie"; domain = "skynet.ie";
extraDomainNames = lists.naturalSort cfg.domains; extraDomainNames = lists.naturalSort cfg.domains;
}; };

View file

@ -86,8 +86,8 @@ in {
services.nginx.virtualHosts = { services.nginx.virtualHosts = {
"outinul.ie" = { "outinul.ie" = {
forceSSL = false; addSSL = true;
useACMEHost = "skynet"; enableACME = true;
locations = { locations = {
"/" = { "/" = {
alias = "/home/outinul/public_html/"; alias = "/home/outinul/public_html/";