Skip to content

Commit

Permalink
block harvest_source_list
Browse files Browse the repository at this point in the history
  • Loading branch information
FuhuXia committed Nov 22, 2024
1 parent de963a3 commit 17f1509
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proxy/nginx-common.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 17f1509

Please sign in to comment.