diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-09-24 13:39:18 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-09-24 13:39:22 -0400 |
commit | 116eec9594aaf64f7a33e85aef2ed5c450691e04 (patch) | |
tree | 2b2cde0ce92374f2b9d9ff33616f03b312dc14d3 | |
parent | b9e0b8648fa7b0edd436e8b3cdc20f6c40fcc628 (diff) |
Bridge
-rw-r--r-- | config/web-server.nix | 4 | ||||
-rw-r--r-- | data/aliases.nix | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/config/web-server.nix b/config/web-server.nix index 18afded..a63c76a 100644 --- a/config/web-server.nix +++ b/config/web-server.nix @@ -2,6 +2,7 @@ let aliases = import ../data/aliases.nix; keycloak_loc = aliases.services.keycloak; + bridge_loc = aliases.services.bridge; in { security.acme.acceptTerms = true; security.acme.defaults.email = "kj@orbekk.com"; @@ -71,6 +72,9 @@ in { "auth.orbekk.com" = template // { locations."/".proxyPass = "http://localhost:${toString keycloak_loc.http-port}"; }; + "bridge.orbekk.com" = template // { + locations."/".proxyPass = "http://localhost:${toString bridge_loc.port}"; + }; "git.orbekk.com" = template // { locations."/".proxyPass = "http://localhost:11103"; }; diff --git a/data/aliases.nix b/data/aliases.nix index 6eb3eaf..dfab8a1 100644 --- a/data/aliases.nix +++ b/data/aliases.nix @@ -55,5 +55,6 @@ rec { hledger-web = { port = 11116; }; prometheus-pms7003-exporter = { host = "172.20.100.10"; port = 11117; }; keycloak = { http-port = 11118; https-port = 11119; }; + bridge = { port = 11120; }; }; } |