Nginx configuration

I’m trying to configure this API end point (GET) in nginx .

I have configured this endpoint url in my httpserver nginx (screenshot ) file nginx.conf.

But in browser , when I try to open the proxy url , I cant access the API data.


Is there anything wrong with nginx.conf ?

You want to set up a URL for /rest/v2/currency/usd, but you configure /currency.

Yes, that is incorrect.

Assuming the last bit (usd) is configurable it would be

location ~ ^/rest/v2/currency/.* {

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.