public01: deploy snix.dev

Change-Id: Ia0a439dd1628299569503370c21a0bbf9552830e
This commit is contained in:
Florian Klink 2025-03-16 14:10:27 +01:00
parent 91d8b86b39
commit 4c65a325a8
4 changed files with 37 additions and 3 deletions

View file

@ -0,0 +1,18 @@
{ depot, ... }:
{
imports = [
./base.nix
];
config = {
services.nginx.virtualHosts."snix.dev" = {
enableACME = true;
forceSSL = true;
root = depot.web.website;
locations."/rustdoc/".alias = "${depot.snix.rust-docs}/";
locations."=/rustdoc".return = "302 https://snix.dev/rustdoc/tvix_eval/index.html";
};
};
}