Skyline: Fix incorrect keystone port

Change the skyline nginx config to point to the internal port.

Closes-Bug: #2069855
Change-Id: Ia29d89b2594a604c687469850a67f7fe29d0eb5d
This commit is contained in:
Andrew Babbitt 2024-06-19 04:25:36 -06:00
parent bd286db198
commit cb90041a98
2 changed files with 7 additions and 2 deletions

View File

@ -98,8 +98,8 @@ http {
{% if enable_keystone | bool %}# Region: {{ openstack_region_name }}, Service: keystone
location {{ skyline_nginx_prefix }}/{{ openstack_region_name | lower }}/keystone {
proxy_pass {{ internal_protocol }}://{{ keystone_internal_fqdn | put_address_in_context('url') }}:{{ keystone_public_port }}/;
proxy_redirect {{ internal_protocol }}://{{ keystone_internal_fqdn | put_address_in_context('url') }}:{{ keystone_public_port }}/ {{ skyline_nginx_prefix }}/{{ openstack_region_name | lower }}/keystone/;
proxy_pass {{ internal_protocol }}://{{ keystone_internal_fqdn | put_address_in_context('url') }}:{{ keystone_internal_port }}/;
proxy_redirect {{ internal_protocol }}://{{ keystone_internal_fqdn | put_address_in_context('url') }}:{{ keystone_internal_port }}/ {{ skyline_nginx_prefix }}/{{ openstack_region_name | lower }}/keystone/;
proxy_buffering off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes keystone port in skyline-console pointing to wrong endpoint port.
`LP#2069855 <https://launchpad.net/bugs/2069855>`__