Skip to content

Commit

Permalink
For OpenID-Connect /openid-connect is only served by mod_auth_openidc,
Browse files Browse the repository at this point in the history
do not send to back-end pods.
  • Loading branch information
abellotti committed Jun 5, 2018
1 parent 03d6944 commit 85fa9de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/miq-template-ext-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ objects:
# For SAML /saml2 is only served by mod_auth_mellon in the httpd pod
RewriteCond %{REQUEST_URI} !^/saml2
# For OpenID-Connect /openid-connect is only served by mod_auth_openidc
RewriteCond %{REQUEST_URI} !^/openid-connect
RewriteRule ^/ http://ui:3000%{REQUEST_URI} [P,QSA,L]
ProxyPassReverse / http://ui:3000/
Expand Down
4 changes: 4 additions & 0 deletions templates/miq-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ objects:
# For SAML /saml2 is only served by mod_auth_mellon in the httpd pod
RewriteCond %{REQUEST_URI} !^/saml2
# For OpenID-Connect /openid-connect is only served by mod_auth_openidc
RewriteCond %{REQUEST_URI} !^/openid-connect
RewriteRule ^/ http://ui:3000%{REQUEST_URI} [P,QSA,L]
ProxyPassReverse / http://ui:3000/
Expand Down

0 comments on commit 85fa9de

Please sign in to comment.