From 17f1509575dfba4aa01881102d8571b364327d3b Mon Sep 17 00:00:00 2001 From: Fuhu Xia Date: Fri, 22 Nov 2024 11:13:40 -0500 Subject: [PATCH] block harvest_source_list --- proxy/nginx-common.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proxy/nginx-common.conf b/proxy/nginx-common.conf index 4509fc5c..2d3d8ae8 100644 --- a/proxy/nginx-common.conf +++ b/proxy/nginx-common.conf @@ -39,6 +39,9 @@ location / { rewrite ^/api/3/action/resource_search$ /api/action/package_search redirect; rewrite ^/api/action/resource_search$ /api/action/package_search redirect; + rewrite ^/api/action/harvest_source_list$ /api/action/package_search redirect; + rewrite ^/api/3/action/harvest_source_list$ /api/3/action/package_search redirect; + # checks for static file, if not found proxy to app try_files $uri @proxy_to_app; }