Skip to content

Commit

Permalink
feat(incommon): proxy pass DiscoFeed
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudyard Richter committed Jun 26, 2019
1 parent d954728 commit 6d7b83f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DockerfileShib
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ RUN ln -s /fence/wsgi.py /var/www/fence/wsgi.py \
require shibboleth\n\
</IfModule>\n\
</Location>\n\
<Location /Shibboleth.sso/DiscoFeed>\n\
ProxyPass "SHIBBOLETH_PROVIDER/Shibboleth.sso/DiscoFeed" timeout=5\n\
</Location>\n\
ErrorLog ${APACHE_LOG_DIR}/error.log\n\
LogLevel info\n\
LogFormat "%{X-Forwarded-For}i %l %{X-UserId}i %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" aws\n\
Expand Down
1 change: 1 addition & 0 deletions dockerrunshib.bash
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ if [ -f /fence/jwt-keys.tar ]; then
fi
service shibd start
sed -i "s/ServerName SERVERNAME/ServerName https:\/\/$HOSTNAME/g" /etc/apache2/sites-available/fence.conf
sed -i "s/SHIBBOLETH_PROVIDER/$SHIBBOLETH_PROVIDER/g" /etc/apache2/sites-available/fence.conf
rm -rf /var/run/apache2/apache2.pid
/usr/sbin/apache2ctl -D FOREGROUND

0 comments on commit 6d7b83f

Please sign in to comment.