From 4ea41afe0a17855e4811b588f61a8350fd915401 Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Sun, 13 Dec 2020 08:34:26 -0600 Subject: [PATCH] fix proxy for unsetting authz header --- .../container_files/httpd/midpoint-shib.conf | 2 -- Workbench/webproxy/container_files/httpd/proxy.conf | 10 +++++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Workbench/midpoint_server/container_files/httpd/midpoint-shib.conf b/Workbench/midpoint_server/container_files/httpd/midpoint-shib.conf index a93663b..ce72d1e 100644 --- a/Workbench/midpoint_server/container_files/httpd/midpoint-shib.conf +++ b/Workbench/midpoint_server/container_files/httpd/midpoint-shib.conf @@ -1,5 +1,3 @@ -RequestHeader unset Authorization - AuthType shibboleth ShibRequestSetting requireSession 1 diff --git a/Workbench/webproxy/container_files/httpd/proxy.conf b/Workbench/webproxy/container_files/httpd/proxy.conf index e7fb9f6..068f506 100644 --- a/Workbench/webproxy/container_files/httpd/proxy.conf +++ b/Workbench/webproxy/container_files/httpd/proxy.conf @@ -7,6 +7,14 @@ SSLProxyCheckPeerExpire off ProxyPreserveHost On AllowEncodedSlashes On + + RequestHeader unset Authorization + + + + RequestHeader unset Authorization + + ProxyPass /midpoint https://midpoint-server/midpoint ProxyPassReverse /midpoint https://midpoint-server/midpoint ProxyPass /MPSSO https://midpoint-server/MPSSO @@ -51,4 +59,4 @@ ProxyPassReverse /wordpress http://wordpress_server/ ProxyPass /wp-includes http://wordpress_server/wp-includes ProxyPassReverse /wp-includes http://wordpress_server/wp-includes ProxyPass /wp-content http://wordpress_server/wp-content -ProxyPassReverse /wp-content http://wordpress_server/wp-content \ No newline at end of file +ProxyPassReverse /wp-content http://wordpress_server/wp-content