Skip to content

Commit

Permalink
410 response regex handles all /mapr/api/ except /mapr/api/config
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Nov 18, 2024
1 parent 775ff70 commit d282d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/group_vars/proxy-hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ nginx_proxy_redirect_map_locations:
- location: "~ ^/(mito|tara|pgpc|study)($|/)"
code: 302

- location: "~ ^/mapr/api/(antibody|gene|compound|sirna|omap|phenotype|organism|orf|cellline|protein)($|/)"
- location: "~ ^/mapr/api/(?!config).*($|/)"
code: 410

# "= /" has higher priority than "/" in the proxy config
Expand Down

0 comments on commit d282d66

Please sign in to comment.