Remove wildcard cert
This commit is contained in:
parent
2fc3df27a4
commit
27530f0de0
Binary file not shown.
Binary file not shown.
|
@ -4,11 +4,6 @@
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
email = "admin+certs@anarkafem.dev";
|
email = "admin+certs@anarkafem.dev";
|
||||||
certs."anarkafem.dev" = {
|
|
||||||
extraDomainNames = [ "*.anarkafem.dev" ];
|
|
||||||
dnsProvider = "hurricane";
|
|
||||||
credentialsFile = config.secrets.files.acme_anarkafem_dev.file;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
imports = [ ../../../common/services/nginx.nix ];
|
imports = [ ../../../common/services/nginx.nix ];
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"anarkafem.dev" = {
|
"anarkafem.dev" = {
|
||||||
useACMEHost = "anarkafem.dev";
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".root = "/var/www/anarkafem.dev/public";
|
locations."/".root = "/var/www/anarkafem.dev/public";
|
||||||
locations."/_matrix/".proxyPass = "http://127.0.0.1:8008";
|
locations."/_matrix/".proxyPass = "http://127.0.0.1:8008";
|
||||||
|
@ -21,12 +21,12 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"cal.anarkafem.dev" = {
|
"cal.anarkafem.dev" = {
|
||||||
useACMEHost = "anarkafem.dev";
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyPass = "http://127.0.0.1:4000";
|
locations."/".proxyPass = "http://127.0.0.1:4000";
|
||||||
};
|
};
|
||||||
"auth.anarkafem.dev" = {
|
"auth.anarkafem.dev" = {
|
||||||
useACMEHost = "anarkafem.dev";
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyPass = "http://127.0.0.1:9000";
|
locations."/".proxyPass = "http://127.0.0.1:9000";
|
||||||
};
|
};
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -4,18 +4,6 @@
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
email = "admin+certs@graven.dev";
|
email = "admin+certs@graven.dev";
|
||||||
certs = {
|
|
||||||
"graven.dev" = {
|
|
||||||
extraDomainNames = [ "*.graven.dev" ];
|
|
||||||
dnsProvider = "hurricane";
|
|
||||||
credentialsFile = config.secrets.files.acme_graven_dev.file;
|
|
||||||
};
|
|
||||||
"graven.se" = {
|
|
||||||
extraDomainNames = [ "*.graven.se" ];
|
|
||||||
dnsProvider = "hurricane";
|
|
||||||
credentialsFile = config.secrets.files.acme_graven_se.file;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
imports = [ ../../../common/services/nginx.nix ];
|
imports = [ ../../../common/services/nginx.nix ];
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"graven.dev" = {
|
"graven.dev" = {
|
||||||
useACMEHost = "graven.dev";
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".root = "/var/www/graven.dev/public";
|
locations."/".root = "/var/www/graven.dev/public";
|
||||||
locations."/_matrix".proxyPass = "http://127.0.0.1:8008";
|
locations."/_matrix".proxyPass = "http://127.0.0.1:8008";
|
||||||
|
@ -21,17 +21,17 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"rss.graven.dev" = {
|
"rss.graven.dev" = {
|
||||||
useACMEHost = "graven.dev";
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
};
|
};
|
||||||
"git.graven.dev" = {
|
"git.graven.dev" = {
|
||||||
useACMEHost = "graven.dev";
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyPass = "http://unix:/run/gitea/gitea.sock:";
|
locations."/".proxyPass = "http://unix:/run/gitea/gitea.sock:";
|
||||||
};
|
};
|
||||||
"vault.graven.dev" = {
|
"vault.graven.dev" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "graven.dev";
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:8812";
|
proxyPass = "http://localhost:8812";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
};
|
};
|
||||||
"openpgpkey.graven.dev" = {
|
"openpgpkey.graven.dev" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "graven.dev";
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
root = "/var/www/openpgpkey";
|
root = "/var/www/openpgpkey";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
};
|
};
|
||||||
"openpgpkey.graven.se" = {
|
"openpgpkey.graven.se" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "graven.se";
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
root = "/var/www/openpgpkey";
|
root = "/var/www/openpgpkey";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
};
|
};
|
||||||
"tor.graven.dev" = {
|
"tor.graven.dev" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "graven.dev";
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
root = "/var/www/tor";
|
root = "/var/www/tor";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Loading…
Reference in a new issue