diff --git a/ansible/roles/stack-proxy/templates/proxy-default.conf b/ansible/roles/stack-proxy/templates/proxy-default.conf index 586b0a4433376b88df1098674a1b173652a1ecaf..bf750cedfe89556d30b87371ba2c675e0b372bcc 100644 --- a/ansible/roles/stack-proxy/templates/proxy-default.conf +++ b/ansible/roles/stack-proxy/templates/proxy-default.conf @@ -49,7 +49,10 @@ 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 }}; + } + location ~* ^/auth/admin/master/console/ { return 301 {{proto}}://{{ proxy_server_name }}; }