snix/ops/modules/www/snix.dev.nix
Florian Klink 4c65a325a8 public01: deploy snix.dev
Change-Id: Ia0a439dd1628299569503370c21a0bbf9552830e
2025-03-17 17:15:08 +00:00

18 lines
363 B
Nix

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