18 lines
363 B
Nix
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";
|
|
};
|
|
};
|
|
}
|