Can't access REST api frontend

My configuration puts lora-app-server as internal host behind nginx proxy. If I try to connect to example the application works as expected but if I try to connect to rest api to the redirection occurs and frontend page opens:

I’ve tesed this with curl and it seems to work.

I’v also tried postman to make a call to, which seems to work since my jwt token was returned.

So basicly I just can’t acces rest documentation/commands page.

Any thoughts on this?

PS: The loraserver version was 2.0.2. I did try to upgrade first to 2.1 and the problem remains.

I’ve seen the problem already described here: Can’t access REST API (redirects to web-interface)

Please lock the post