From aeee51bb8dbe3c87d0f0016049b63b7dbbcfa4ff Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Fri, 20 Oct 2023 21:35:06 +0530 Subject: [PATCH] fix: adding support for /api/v2 --- frontend/confd/templates/nginx.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/frontend/confd/templates/nginx.conf b/frontend/confd/templates/nginx.conf index bd2219a4..30b0eef6 100755 --- a/frontend/confd/templates/nginx.conf +++ b/frontend/confd/templates/nginx.conf @@ -80,6 +80,17 @@ http { proxy_read_timeout 900; send_timeout 900; } + + location /api/v2 { + proxy_pass http://{{ getenv "BACKEND_HOSTNAME" "shuffle-backend" }}:5001; + proxy_buffering off; + proxy_http_version 1.1; + + proxy_connect_timeout 900; + proxy_send_timeout 900; + proxy_read_timeout 900; + send_timeout 900; + } } server {