diff --git a/ansible/group_vars/proxy-hosts.yml b/ansible/group_vars/proxy-hosts.yml index 63ecb95c..12ecb094 100644 --- a/ansible/group_vars/proxy-hosts.yml +++ b/ansible/group_vars/proxy-hosts.yml @@ -306,8 +306,10 @@ _nginx_proxy_sites: nginx_proxy_additional_directives: - "add_header Access-Control-Allow-Origin $allow_origin" # Study redirects - # - "if ($request_uri ~ /search/\\?query=Name:(?idr0)?134) { - # return 302 /about/download.html;}" + - "if ($request_uri ~ /search/\\?query=Name:(?idr0)?138) { + return 302 /about/download.html;}" + - "if ($request_uri ~ /search/\\?query=Name:(?idr0)?158) { + return 302 /about/download.html;}" # This is a duplicate of the main OMERO.web proxy configuration, but with # cache-busting: