-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attribute aggregation: Add container for link, used for ORCID linking
- Loading branch information
Showing
2 changed files
with
77 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
ServerName https://${HTTPD_SERVERNAME} | ||
RewriteEngine on | ||
RewriteCond %{REQUEST_URI} !\.html$ | ||
RewriteCond %{REQUEST_URI} !^/aa/ | ||
RewriteCond %{REQUEST_URI} !^/internal/ | ||
RewriteCond %{REQUEST_URI} !^/redirect | ||
RewriteCond %{REQUEST_URI} !^/fonts/ | ||
RewriteCond %{REQUEST_URI} !^/orcid/ | ||
RewriteRule (.*) /index.html [L] | ||
|
||
Redirect /orcid https://link.{{ base_domain }}/aa/api/client/information.html | ||
ProxyPass /Shibboleth.sso ! | ||
|
||
ProxyPass /redirect http://aaserver:8080/aa/api/redirect | ||
ProxyPass /internal/health http://aaserver:8080/aa/api/internal/health | ||
ProxyPass /internal/info http://aaserver:8080/aa/api/internal/info | ||
|
||
ProxyPass /aa/api http://aaserver:8080/aa/api | ||
ProxyPassReverse /aa/api http://aaserver:8080/aa/api | ||
ProxyPassReverse /aa/api/client http://aaserver:8080/aa/api/client | ||
|
||
|
||
<Location /> | ||
AuthType shibboleth | ||
ShibUseHeaders On | ||
ShibRequireSession On | ||
Require valid-user | ||
</Location> | ||
|
||
<Location ~ "/internal/(health|info)"> | ||
Require all granted | ||
</Location> | ||
|
||
# The EB endpoints are secured with basic auth | ||
<Location ~ "/aa/api/internal/"> | ||
Require all granted | ||
</Location> | ||
|
||
Header always set X-Frame-Options "DENY" | ||
Header always set Referrer-Policy "strict-origin-when-cross-origin" | ||
Header always set X-Content-Type-Options "nosniff" |