website: very crude first attempt

This commit is contained in:
Christoph Hollizeck 2025-01-02 14:25:06 +01:00
parent df48a245ba
commit 82baa41a7a

View file

@ -79,7 +79,8 @@ in
useACMEHost = mkIf cfg.enableAcme domainName;
locations."/" = {
return = ./index.html;
root = /var/www/website;
index = "index.html";
};
};
@ -88,7 +89,7 @@ in
useACMEHost = mkIf cfg.enableAcme domainName;
locations."/" = {
return = "404";
proxyPass = "https://${domainName}";
};
};
};