1
0
Fork 0

sail: Move more from CF

This commit is contained in:
Daniel Kempkens 2023-03-06 15:25:59 +01:00
parent 69948f06ce
commit 714dc0eee0
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 19 additions and 0 deletions

View file

@ -14,6 +14,10 @@
}; };
certs = { certs = {
"kempkens.io" = {
domain = "*.kempkens.io";
};
"daniel.sx" = { "daniel.sx" = {
domain = "*.daniel.sx"; domain = "*.daniel.sx";
}; };

View file

@ -19,4 +19,19 @@
keepalive-interval = "45s"; keepalive-interval = "45s";
}; };
}; };
services.nginx = {
virtualHosts."ntfy.kempkens.io" = {
http3 = true;
forceSSL = true;
useACMEHost = "kempkens.io";
locations."/" = {
recommendedProxySettings = true;
proxyWebsockets = true;
proxyPass = "http://127.0.0.1:8004";
};
};
};
} }