services/nginx: enable for dandelion

This commit is contained in:
LavaDesu 2024-07-24 13:23:12 +10:00
parent ef9c4f3a08
commit d4b9c485b6
Signed by: cilly
GPG key ID: 6500251E087653C9
3 changed files with 9 additions and 1 deletions

View file

@ -1,4 +1,5 @@
{ config, inputs, ... }: {
networking.firewall.allowedTCPPorts = [ 80 443 ];
security.acme = {
acceptTerms = true;
email = "me@lava.moe";
@ -27,6 +28,11 @@
forceSSL = true;
root = inputs.website.outPath;
};
"cdn.lava.moe" = {
useACMEHost = "lava.moe";
forceSSL = true;
root = "/persist/cdn";
};
"_" = {
default = true;
addSSL = true;