website: very crude first attempt
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Christoph Hollizeck 2025-01-02 14:25:06 +01:00
parent 9e1d870b63
commit 6a629c392a

View file

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