From df5e880f0e2ae3cd0d14af8fb778197614df87ef Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Thu, 1 Jul 2021 13:12:24 -0500 Subject: [PATCH] based on https://github.com/iiab/iiab/issues/2154#issue-550541163 --- roles/nodered/templates/nodered-nginx.conf.j2 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/roles/nodered/templates/nodered-nginx.conf.j2 b/roles/nodered/templates/nodered-nginx.conf.j2 index 7d4728b16..0c678a375 100644 --- a/roles/nodered/templates/nodered-nginx.conf.j2 +++ b/roles/nodered/templates/nodered-nginx.conf.j2 @@ -1,3 +1,11 @@ location /nodered/ { - proxy_pass http://127.0.0.1:{{ apache_port }}/nodered/; + proxy_pass http://127.0.0.1:1880/nodered/; +} + +location /nodered/debug/ws/ { + proxy_pass http://127.0.0.1:1880/nodered/debug/ws; +} + +location /nodered/comms/ { + proxy_pass http://127.0.0.1:1880/nodered/comms; }