website: very crude first attempt

This commit is contained in:
Christoph Hollizeck 2025-01-02 14:25:06 +01:00
parent 1110225de2
commit accb3e70e4
Signed by: Daholli
GPG key ID: 249300664F2AF2C7

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}";
};
};
};