mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-26 00:18:28 +02:00
add trucksim docs
This commit is contained in:
parent
1c023fa7af
commit
8a5fde591e
2 changed files with 7 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, inputs, ... }:
|
||||
let
|
||||
domain = "trucksimulatorbot.rfive.de";
|
||||
in
|
||||
|
@ -39,6 +39,9 @@ in
|
|||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${toString config.services.trucksimulatorbot.listenPort}";
|
||||
};
|
||||
locations."/docs" = {
|
||||
root = "${inputs.trucksimulatorbot.packages.x86_64-linux.docs}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue