I have set up lovspotify to use port 9098. It is accessible from my PC at 192.168.1.215:9098. However, I want to access it through my nginx server.
I have set up a reverse proxy in nginx with the following configuration:
location /lovespotify {
proxy_pass http://127.0.0.1:9098/;
}
Now, when I try to access the server at https://192.168.1.215/lovespotify/, I only get a white sceern. The initial html loads, but then the app tries to load assets from the root of the webage (/), and not from /lovespotify/.
It would be useful, if the site would fetch assets from ./ instead of /.
Firefox network logs:

I have set up lovspotify to use port
9098. It is accessible from my PC at192.168.1.215:9098. However, I want to access it through my nginx server.I have set up a reverse proxy in nginx with the following configuration:
Now, when I try to access the server at
https://192.168.1.215/lovespotify/, I only get a white sceern. The initial html loads, but then the app tries to load assets from the root of the webage (/), and not from/lovespotify/.It would be useful, if the site would fetch assets from
./instead of/.Firefox network logs: