From d282d66c3271f1e4d405cd786e9c063a9479f0db Mon Sep 17 00:00:00 2001 From: William Moore Date: Mon, 18 Nov 2024 15:17:33 +0000 Subject: [PATCH] 410 response regex handles all /mapr/api/ except /mapr/api/config --- ansible/group_vars/proxy-hosts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/group_vars/proxy-hosts.yml b/ansible/group_vars/proxy-hosts.yml index 110dc26f..d57fa390 100644 --- a/ansible/group_vars/proxy-hosts.yml +++ b/ansible/group_vars/proxy-hosts.yml @@ -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