commit | 32624090e4834774fd886b0e4b4e80bab46d8b7d | [log] [tgz] |
---|---|---|
author | vuko <vuko@hackerspace.pl> | Thu Dec 22 23:09:06 2022 +0100 |
committer | vuko <vuko@hackerspace.pl> | Sun Jan 29 16:22:37 2023 +0000 |
tree | b662c04271bf90fe83854f9c961df0e1dc766b66 | |
parent | 740a52dec928bf491bdf575bd9a75dd83c888a98 [diff] |
hswaw/customs use ip address in spejsiot proxy Change-Id: I2148783d9470c09234feaa59e935606bdb21f6f4 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1450 Reviewed-by: vuko <vuko@hackerspace.pl>
diff --git a/hswaw/machines/customs.hackerspace.pl/configuration.nix b/hswaw/machines/customs.hackerspace.pl/configuration.nix index 3691424..ce13373 100644 --- a/hswaw/machines/customs.hackerspace.pl/configuration.nix +++ b/hswaw/machines/customs.hackerspace.pl/configuration.nix
@@ -451,7 +451,10 @@ proxyPass = "http://10.8.0.146"; }; locations."/metrics/spejsiot" = { - proxyPass = "http://spejsiot.waw.hackerspace.pl/metrics"; + proxyPass = "http://10.8.1.16/metrics"; + extraConfig = '' + proxy_set_header Host spejsiot.waw.hackerspace.pl; + ''; }; locations."/metrics/apm" = { proxyPass = "http://10.8.1.40:5000/metrics";