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>
This commit is contained in:
vuko 2022-12-22 23:09:06 +01:00
parent 740a52dec9
commit 32624090e4

View file

@ -451,7 +451,10 @@ in {
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";