Skip to content

Commit

Permalink
Merge pull request #1495 from GSA/block-harvest-source-list
Browse files Browse the repository at this point in the history
block harvest_source_list
  • Loading branch information
FuhuXia authored Nov 25, 2024
2 parents de963a3 + 17f1509 commit 7ce0227
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 7ce0227

Please sign in to comment.