Skip to content

Commit 6ed8211

Browse files
committed
try fixing openalex proxy
1 parent 58d7574 commit 6ed8211

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/nginx.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ server {
3333
proxy_pass https://ec.europa.eu/info/funding-tenders/opportunities/data/topicDetails/$1.json;
3434
}
3535
location ~ ^/openalex/(.*)$ {
36-
proxy_set_header X-Real-IP $remote_addr;
3736
proxy_pass https://api.openalex.org/$1&api_key=$OPENALEX_API_KEY;
37+
proxy_set_header X-Real-IP $remote_addr;
38+
proxy_ssl_server_name on;
3839
}
3940
}

0 commit comments

Comments
 (0)