refactor
This commit is contained in:
committed by
Joakim Repomaa
parent
983e313e11
commit
7a24ac5fe6
13
hosts/freun.dev/services/gtrackmap.nix
Normal file
13
hosts/freun.dev/services/gtrackmap.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ ... }:
|
||||
let
|
||||
fqdn = "trackmap.freun.dev";
|
||||
port = 3200;
|
||||
in
|
||||
{
|
||||
services.gtrackmap = {
|
||||
enable = true;
|
||||
inherit port;
|
||||
};
|
||||
|
||||
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://localhost:${toString port}";
|
||||
}
|
||||
Reference in New Issue
Block a user