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

edited configuration to make content negotiation work for application/x-cmdi+xml

parent a557126c
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ server {
rewrite ^/repository/oai/?$ $oai_index permanent;
# kept 'redirect' to be sure that this keeps working
if ($http_accept ~ "(.*xml.cmdi.*)"){
if ($http_accept ~ "(.*cmdi.xml.*)"){
rewrite ^/(.*)/xmlui/handle/(.*)$ https://$http_host/repository/oai/cite?metadataPrefix=cmdi&handle=$2? redirect;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment