Skip to content

Commit

Permalink
Merge pull request #104 from internet2/PC_GrouperWS
Browse files Browse the repository at this point in the history
fix for encoded slashes in Rabbit URLs
  • Loading branch information
pcaskey authored Jan 7, 2021
2 parents 0b21c0b + dcb0b76 commit 04a8082
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions Workbench/webproxy/container_files/httpd/proxy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyPreserveHost On
AllowEncodedSlashes On
AllowEncodedSlashes NoDecode

<Location /idp>
RequestHeader unset Authorization
Expand Down Expand Up @@ -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 nocanon
ProxyPassReverse /api http://mq:15672/api

ProxyPass /ldapadmin https://directory/ldapadmin
ProxyPassReverse /ldapadmin https://directory/ldapadmin
Expand Down
2 changes: 2 additions & 0 deletions Workbench/webproxy/container_files/httpd/ssl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ SSLCryptoDevice builtin

<VirtualHost _default_:443>

AllowEncodedSlashes NoDecode

# General setup for the virtual host, inherited from global configuration
#DocumentRoot "/var/www/html"
#ServerName www.example.com:443
Expand Down

0 comments on commit 04a8082

Please sign in to comment.