Skip to content

Commit 41250e3

Browse files
committed
try fixing openalex proxy 2
1 parent 6ed8211 commit 41250e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ server {
3232
proxy_set_header X-Real-IP $remote_addr;
3333
proxy_pass https://ec.europa.eu/info/funding-tenders/opportunities/data/topicDetails/$1.json;
3434
}
35-
location ~ ^/openalex/(.*)$ {
36-
proxy_pass https://api.openalex.org/$1&api_key=$OPENALEX_API_KEY;
35+
location ~* ^/openalex/(.*) {
36+
proxy_pass https://api.openalex.org/$1$is_args$args&api_key=$OPENALEX_API_KEY;
3737
proxy_set_header X-Real-IP $remote_addr;
3838
proxy_ssl_server_name on;
3939
}

0 commit comments

Comments
 (0)