diff --git a/ansible/roles/stack-proxy/templates/proxy-default.conf b/ansible/roles/stack-proxy/templates/proxy-default.conf index bf750cedfe89556d30b87371ba2c675e0b372bcc..188c3d3d0f1eaf23e7623a7cebc1318e0dbcb72d 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/ {