From f66e0742c4e3d795ff6bad393bbf22f1b3ede943 Mon Sep 17 00:00:00 2001 From: peppepetra86 Date: Thu, 19 May 2022 10:13:13 +0200 Subject: [PATCH] Allow URLs which contain encoded path separators This is to resolve the issue with objects containing slash in the name not correctly synced in multisite environments. Closes-Bug: #1974138 Change-Id: I71ac000bb4754c9cb987d703f145dc2a5ff032ad (cherry picked from commit 8a844bca972ba40ba269b26111180732c0ab7312) --- templates/openstack_https_frontend.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/openstack_https_frontend.conf b/templates/openstack_https_frontend.conf index 6463f41..5df7631 100644 --- a/templates/openstack_https_frontend.conf +++ b/templates/openstack_https_frontend.conf @@ -18,6 +18,7 @@ Listen {{ ext_port }} # See LP 1484489 - this is to support <= 2.4.7 and >= 2.4.8 SSLCertificateChainFile /etc/apache2/ssl/{{ namespace }}/cert_{{ endpoint }} SSLCertificateKeyFile /etc/apache2/ssl/{{ namespace }}/key_{{ endpoint }} + AllowEncodedSlashes On ProxyPass / http://localhost:{{ int }}/ nocanon ProxyPassReverse / http://localhost:{{ int }}/ ProxyPreserveHost on