From 660cf5c6f186246271b7303fdaba2621bb00b2b6 Mon Sep 17 00:00:00 2001 From: Damian Dabrowski Date: Thu, 16 Mar 2023 14:05:12 +0100 Subject: [PATCH] Update git submodules * Update openstack-ansible-repo_server from branch 'master' to 3d3f6102458ca7d70ce9eb8dd15e6a49c7e73505 - Turn off absolute_redirect for nginx Nginx adds trailing slashes to the URLs ending with directories. So by default, when accessing http://172.29.236.101:8181/pools, nginx will return 301 redirect to http://172.29.236.101:8181/pools/. It's an absolute redirect which causes a problem when haproxy frontend listens on HTTPS but its backends listen on HTTP. In this case, when accessing https://172.29.236.101:8181/pools, nginx will return 301 redirect to http://172.29.236.101:8181/pools/ (http) that won't work. This patch changes behavior by disabling absolute_redirects, so when accessing https://172.29.236.101:8181/pools, nginx will return a redirect to relative location '/pools/' without changing protocol. Change-Id: I9e55508996d9b24437870f2f23dca5db7827fee1 --- openstack-ansible-repo_server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack-ansible-repo_server b/openstack-ansible-repo_server index b9d9ccfc8a..3d3f610245 160000 --- a/openstack-ansible-repo_server +++ b/openstack-ansible-repo_server @@ -1 +1 @@ -Subproject commit b9d9ccfc8a781759f421d5c8aa1a9276295765b5 +Subproject commit 3d3f6102458ca7d70ce9eb8dd15e6a49c7e73505