feat: outinul.ie now has ssl #137
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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/";
|
||||||
|
|
Loading…
Reference in a new issue