feat: add git
This commit is contained in:
parent
7eaceeac27
commit
059bac76d1
2 changed files with 20 additions and 1 deletions
|
|
@ -3,5 +3,6 @@ let
|
||||||
web = import ./endpoints/web.nix;
|
web = import ./endpoints/web.nix;
|
||||||
matrix = import ./endpoints/matrix.nix;
|
matrix = import ./endpoints/matrix.nix;
|
||||||
vikunja = import ./endpoints/vikunja.nix;
|
vikunja = import ./endpoints/vikunja.nix;
|
||||||
|
git = import ./endpoints/git.nix;
|
||||||
in
|
in
|
||||||
local ++ web ++ matrix ++ vikunja ++ []
|
local ++ web ++ matrix ++ vikunja ++ git ++ []
|
||||||
18
config/endpoints/git.nix
Normal file
18
config/endpoints/git.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
let
|
||||||
|
net = import ../network.nix;
|
||||||
|
in
|
||||||
|
[
|
||||||
|
{
|
||||||
|
type = "proxy";
|
||||||
|
domain = "git.${net.devices.remote_proxy.domain}";
|
||||||
|
endpoint = "/";
|
||||||
|
force_ssl = true;
|
||||||
|
port = 443;
|
||||||
|
content = {
|
||||||
|
type = "service";
|
||||||
|
ip = net.devices.tuserver.ip;
|
||||||
|
port = 3000;
|
||||||
|
proxyWebsockets = false;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue