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";