Commit 95e38cd1 authored by Federico Sismondi's avatar Federico Sismondi

Added to nginx configs for proxying to watering GUI

parent 58450701
...@@ -8,6 +8,11 @@ upstream ORION { ...@@ -8,6 +8,11 @@ upstream ORION {
# server orion-proxy:1027; # server orion-proxy:1027;
#} #}
upstream WATERING_GUI {
server 127.0.0.1:5001;
}
upstream QUANTUM { upstream QUANTUM {
server quantumleap:8668; server quantumleap:8668;
} }
......
...@@ -87,6 +87,12 @@ http { ...@@ -87,6 +87,12 @@ http {
proxy_redirect default; proxy_redirect default;
} }
location ^~ /watering/ {
include conf.d/proxy_params.conf;
proxy_pass http://WATERING_GUI/; # see cond.d/upstream
proxy_redirect default;
}
location ^~ /context-api/ { location ^~ /context-api/ {
include conf.d/proxy_params.conf; include conf.d/proxy_params.conf;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment