Skip to content

Commit

Permalink
Merge pull request #53 from internet2/PC_MoreUpdates
Browse files Browse the repository at this point in the history
fix proxy for unsetting authz header
  • Loading branch information
pcaskey authored Dec 13, 2020
2 parents 2734cfc + 4ea41af commit 17fdbbb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
RequestHeader unset Authorization

<Location /midpoint/auth/shib>
AuthType shibboleth
ShibRequestSetting requireSession 1
Expand Down
10 changes: 9 additions & 1 deletion Workbench/webproxy/container_files/httpd/proxy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ SSLProxyCheckPeerExpire off
ProxyPreserveHost On
AllowEncodedSlashes On

<Location /idp>
RequestHeader unset Authorization
</Location>

<Location /midpoint>
RequestHeader unset Authorization
</Location>

ProxyPass /midpoint https://midpoint-server/midpoint
ProxyPassReverse /midpoint https://midpoint-server/midpoint
ProxyPass /MPSSO https://midpoint-server/MPSSO
Expand Down Expand Up @@ -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
ProxyPassReverse /wp-content http://wordpress_server/wp-content

0 comments on commit 17fdbbb

Please sign in to comment.