nsd-acme fixes
- remove obsolete conditions (that's what After is for) - irc.jakstys.lt is no longer staging
This commit is contained in:
parent
2e1af09789
commit
833b2bd1cf
@ -86,7 +86,7 @@
|
|||||||
};
|
};
|
||||||
zones."irc.jakstys.lt" = {
|
zones."irc.jakstys.lt" = {
|
||||||
accountKey = config.age.secrets.letsencrypt-account-key.path;
|
accountKey = config.age.secrets.letsencrypt-account-key.path;
|
||||||
staging = true;
|
staging = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -240,7 +240,6 @@
|
|||||||
caddy = let
|
caddy = let
|
||||||
acme = config.mj.services.nsd-acme.zones."grafana.jakstys.lt";
|
acme = config.mj.services.nsd-acme.zones."grafana.jakstys.lt";
|
||||||
in {
|
in {
|
||||||
unitConfig.ConditionPathExists = [acme.certFile acme.keyFile];
|
|
||||||
serviceConfig.LoadCredential = [
|
serviceConfig.LoadCredential = [
|
||||||
"grafana.jakstys.lt-cert.pem:${acme.certFile}"
|
"grafana.jakstys.lt-cert.pem:${acme.certFile}"
|
||||||
"grafana.jakstys.lt-key.pem:${acme.keyFile}"
|
"grafana.jakstys.lt-key.pem:${acme.keyFile}"
|
||||||
@ -252,7 +251,6 @@
|
|||||||
soju = let
|
soju = let
|
||||||
acme = config.mj.services.nsd-acme.zones."irc.jakstys.lt";
|
acme = config.mj.services.nsd-acme.zones."irc.jakstys.lt";
|
||||||
in {
|
in {
|
||||||
unitConfig.ConditionPathExists = [acme.certFile acme.keyFile];
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
RuntimeDirectory = "soju";
|
RuntimeDirectory = "soju";
|
||||||
LoadCredential = [
|
LoadCredential = [
|
||||||
|
Loading…
Reference in New Issue
Block a user