From 9052a556e51591ffe7fb0a5cc12237193c5d378a Mon Sep 17 00:00:00 2001 From: ruhanga Date: Fri, 6 Dec 2024 14:21:06 +0300 Subject: [PATCH] OZ-742: Fixed Bahmni Reports --- proxy/default.conf.template | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/proxy/default.conf.template b/proxy/default.conf.template index 485c032..b5cf832 100644 --- a/proxy/default.conf.template +++ b/proxy/default.conf.template @@ -156,6 +156,17 @@ server { proxy_redirect http://$host/ /; } + # bahmnireports + location = /bahmnireports { + return 301 /bahmnireports/; + } + + location /bahmnireports/ { + set $bahmnireports reports:8051; + proxy_pass http://$bahmnireports; + proxy_redirect http://$host/ /; + } + # Bahmni Web location = /bahmni { return 301 /bahmni/;