From 603234ce1cd781a9d66c21ebd9bac7c5a089e425 Mon Sep 17 00:00:00 2001 From: S M Y <smy.altamash@gmail.com> Date: Wed, 17 Jul 2019 11:03:11 +0530 Subject: [PATCH] Proxy changes --- ansible/roles/stack-proxy/templates/proxy-default.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/roles/stack-proxy/templates/proxy-default.conf b/ansible/roles/stack-proxy/templates/proxy-default.conf index bf750cedf..188c3d3d0 100644 --- a/ansible/roles/stack-proxy/templates/proxy-default.conf +++ b/ansible/roles/stack-proxy/templates/proxy-default.conf @@ -49,8 +49,9 @@ server { location ~* ^/auth/realms/(.+)/clients-registrations/ { return 301 {{proto}}://$host/api/auth/v1/realms/$1/clients-registrations/; } + location ~* ^/auth/v1/refresh/token { - return 301 {{proto}}://{{ proxy_server_name }}; + proxy_pass http://player; } location ~* ^/auth/admin/master/console/ { -- GitLab