Skip to content

fix for encoded slashes in Rabbit URLs #104

Merged
merged 2 commits into from
Jan 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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