Stremio server not working if reversed proxy used
Hi, I am trying to make stremio work with reversed proxy, but stremio server just don't work, it seams that url is not correct.
<VirtualHost *:20530>
<Location "/stremio/">
ProxyPass http://localhost:7080/
ProxyPassReverse http://localhost:7080/
</Location>
<Location "/stremioserver">
ProxyPass http://localhost:11470
ProxyPassReverse http://localhost:11470
</Location>
</VirtualHost>
URL specified in stremio web: with proxy: http://192.168.188.203:11470/ no proxy: http://192.168.188.203:20530/stremioserver/
This is the link for example that I am getting once the video starts when using directly (no proxy): http://192.168.188.203:11470/571726bee423983ff34431f319209e48be784667/0/stats.json
and this is the link that I get if I use stremio server as proxy (404 error): http://192.168.188.203:20530/571726bee423983ff34431f319209e48be784667/0/stats.json
This is how it should be correctly: http://192.168.188.203:20530/stremioserver/571726bee423983ff34431f319209e48be784667/0/stats.json
If I test server by executing below line it is working fine: http://192.168.188.203:20530/stremioserver/settings
Is it possible to configure base url for the server or something? Any idea, please.
posted a similar issue on the stremio-web. It can't properly handle path based url. This should be here, so closed previous one. More details: https://github.com/Stremio/stremio-web/issues/605
I think the server doesn't take the server url in web into account. Probably making the request based on host of server.