Skip to content

Commit

Permalink
Merge pull request #437 from dominikl/remove_idr0158_redirect
Browse files Browse the repository at this point in the history
Comment out idr0158 redirect
  • Loading branch information
sbesson authored Oct 8, 2024
2 parents 625f82f + 0c5c639 commit 87c6210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/group_vars/proxy-hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ _nginx_proxy_sites:
nginx_proxy_additional_directives:
- "add_header Access-Control-Allow-Origin $allow_origin"
# Study redirects
- "if ($request_uri ~ /search/\\?query=Name:(?<prefix>idr0)?158) {
return 302 /about/download.html;}"
# - "if ($request_uri ~ /search/\\?query=Name:(?<prefix>idr0)?158) {
# return 302 /about/download.html;}"

# This is a duplicate of the main OMERO.web proxy configuration, but with
# cache-busting:
Expand Down

0 comments on commit 87c6210

Please sign in to comment.