From 12b2d9b26fe452ea2eec6cf407fd59bc068e19a8 Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Wed, 6 Jan 2021 22:27:01 -0600 Subject: [PATCH] fix for encoded slashes in Rabbit URLs --- Workbench/webproxy/container_files/httpd/proxy.conf | 7 ++----- Workbench/webproxy/container_files/httpd/ssl.conf | 2 ++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Workbench/webproxy/container_files/httpd/proxy.conf b/Workbench/webproxy/container_files/httpd/proxy.conf index 74d8d52..a1bc99b 100644 --- a/Workbench/webproxy/container_files/httpd/proxy.conf +++ b/Workbench/webproxy/container_files/httpd/proxy.conf @@ -5,7 +5,7 @@ SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off ProxyPreserveHost On -AllowEncodedSlashes On +AllowEncodedSlashes NoDecode RequestHeader unset Authorization @@ -42,16 +42,13 @@ ProxyPassReverse /idpui https://idp_ui:8443/idpui ProxyPass /rabbit http://mq:15672/ nocanon ProxyPassReverse /rabbit http://mq:15672/ -#ProxyPass /# http://mq:15672/# -#ProxyPassReverse /# http://mq:15672/# ProxyPass /js http://mq:15672/js ProxyPassReverse /js http://mq:15672/js ProxyPass /css http://mq:15672/css ProxyPassReverse /css http://mq:15672/css ProxyPass /img http://mq:15672/img ProxyPassReverse /img http://mq:15672/img -ProxyPass /api http://mq:15672/api -ProxyPassReverse /api http://mq:15672/api +ProxyPass /api http://mq:15672/api nocanon ProxyPass /ldapadmin https://directory/ldapadmin ProxyPassReverse /ldapadmin https://directory/ldapadmin diff --git a/Workbench/webproxy/container_files/httpd/ssl.conf b/Workbench/webproxy/container_files/httpd/ssl.conf index 066ccc7..417ca78 100644 --- a/Workbench/webproxy/container_files/httpd/ssl.conf +++ b/Workbench/webproxy/container_files/httpd/ssl.conf @@ -55,6 +55,8 @@ SSLCryptoDevice builtin +AllowEncodedSlashes NoDecode + # General setup for the virtual host, inherited from global configuration #DocumentRoot "/var/www/html" #ServerName www.example.com:443