summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-10-05 19:59:03 -0400
committerKjetil Orbekk <kj@orbekk.com>2022-10-05 19:59:29 -0400
commitafbcb7b0ad2122aa30d858d89546cfe4c7cc73dd (patch)
tree755f8bab29ab499e3949795bcf1b63a21e3ca06c
parent9fa615b93f375d0b5fe3f92572a2482be457dc99 (diff)
Host bridge on pincer
-rw-r--r--config/web-server.nix2
-rw-r--r--data/aliases.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/web-server.nix b/config/web-server.nix
index a63c76a..767d7f9 100644
--- a/config/web-server.nix
+++ b/config/web-server.nix
@@ -73,7 +73,7 @@ in {
locations."/".proxyPass = "http://localhost:${toString keycloak_loc.http-port}";
};
"bridge.orbekk.com" = template // {
- locations."/".proxyPass = "http://localhost:${toString bridge_loc.port}";
+ locations."/".proxyPass = "http://${bridge_loc.host}:${toString bridge_loc.port}";
};
"git.orbekk.com" = template // {
locations."/".proxyPass = "http://localhost:11103";
diff --git a/data/aliases.nix b/data/aliases.nix
index dfab8a1..6f8d5f4 100644
--- a/data/aliases.nix
+++ b/data/aliases.nix
@@ -55,6 +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; };
+ bridge = { host = "pincer"; port = 11120; };
};
}