Skip to content
Snippets Groups Projects
Commit fd7bb791 authored by Alexander König's avatar Alexander König
Browse files

changes to nginx configuration to enable shibboleth

parent 1a7fb526
No related branches found
No related tags found
No related merge requests found
......@@ -108,8 +108,17 @@ server {
alias /opt/repository/sources/lindat-aai-discovery; }
# add path your repository path that will be protected by shibboleth
location /repository/xmlui/shibboleth-login { include repository_auth; }
location /xmlui/shibboleth-login { include repository_auth; }
location /repository/xmlui/shibboleth-login {
include repository_auth;
ajp_keep_conn on;
ajp_pass tomcats;
}
location /xmlui/shibboleth-login {
include repository_auth;
ajp_keep_conn on;
ajp_pass tomcats;
}
# remove the robots and favicon from the logs
location ~ /robots.txt$ { access_log off; log_not_found off; }
......
......@@ -243,7 +243,7 @@ lr.autocomplete.on=true
lr.autocomplete.solr.url=${dspace.url}/JSON/solr/
lr.autocomplete.json_static.url=${dspace.url}/static/json/
lr.allow.edit.metadata = Eurac Research CLARIN Center
lr.allow.edit.metadata = Eurac Research CLARIN Centre
############################################
#
......
......@@ -32,6 +32,24 @@ http {
keepalive_timeout 65;
gzip on;
gzip_disable "msie6";
gzip_comp_level 6;
gzip_min_length 1100;
gzip_buffers 16 8k;
gzip_proxied any;
gzip_types
text/plain
text/css
text/js
text/xml
text/javascript
application/javascript
application/x-javascript
application/json
application/xml
application/rss+xml
image/svg+xml;
include default-ssl;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment