On HTTP, Subsonic is accessible as usual on http://mydomain.com:4040 (will obfuscate it once HTTPS will work). It is redirect to http://mydomain.com:4040/index.view and works fine for the last 8 years or so.
For HTTPS I recently added this on the Apache HTTPS vhost conf file for my domain, in the <VirtualHost *:443> section:
- Code: Select all
ProxyPass /subsonic http://127.0.0.1:4040/
ProxyPassReverse /subsonic http://127.0.0.1:4040/
I can now access Subsonic on https://mydomain.com/subsonic/, except that the assets are not loaded (no CSS, no images, no JS).
[EDIT]
When I look in the network tab of my browser, I see that all the assets fail to load because they are called on https://mydomain.com/asset.jpg (instead of https://mydomain.com/subsonic/asset.jpg I guess).
Also, https://mydomain.com/subsonic (without the trailing slash) doesn't work.
I have other apps running on my machine with a very similar reverse proxy, and it works fine, so I guess it has something to do with Subsonic config?
Any idea?