ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

commit c3bbd5fd1a5a23ad981b582326e3604dab8a9f88
parent d79c3720d450b5d7ec0d810d841741955475843a
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 20 Feb 2021 22:48:59 +0100

smartied: update vhost template
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/roles/smarthome/templates/nginx-vhost.conf.j2 b/roles/smarthome/templates/nginx-vhost.conf.j2
@@ -14,14 +14,14 @@ server {
 	}
 
 	location /ws {
-		proxy_pass http://127.0.0.1:5002/;
+		proxy_pass http://127.0.0.1:5000/ws;
 		proxy_http_version 1.1;
 		proxy_set_header Upgrade $http_upgrade;
 		proxy_set_header Connection "upgrade";
 	}
 
 	location /smarthome-exporter {
-		proxy_pass http://127.0.0.1:5003/metrics;
+		proxy_pass http://127.0.0.1:5000/metrics;
 	}
 
 	location /archive {

@@ -46,14 +46,14 @@ server {
 	}
 
 	location /ws {
-		proxy_pass http://127.0.0.1:5002/;
+		proxy_pass http://127.0.0.1:5000/ws;
 		proxy_http_version 1.1;
 		proxy_set_header Upgrade $http_upgrade;
 		proxy_set_header Connection "upgrade";
 	}
 
 	location /smarthome-exporter {
-		proxy_pass http://127.0.0.1:5003/metrics;
+		proxy_pass http://127.0.0.1:5000/metrics;
 	}
 
 	location /archive {