Hello all,
I am attempting to make a few things happen with Subsonic if I can, using IIS in conjuction. Let me explain my current setup:
- Server: Windows 2012 R2 (VPS, single IP address)
- Subsonic Music Server (Control Panel controlling 443)
- LetsEncrypt SSL certificate (installed through both IIS and Subsonic, only using Subsonic for web serving capabilities, IIS does not run)
- Potentially wanting to run WordPress on the side, through IIS and the WordPress plug-in (Would like to navigate over HTTPS)
- Within the Subsonic Control Panel, I specify the context menu as /music (Thus, I navigate to a specific directory instead of the root host address)
I believe my dilemma is the fact that Jetty needs to run and be able to control ports in order to function, but I want to use IIS on the same port with the same certficate. My current situation is as follows:
- https://www.mydomain.com/music routes properly through Jetty and opens to the login screen, working great, SSL certificate installed and functioning as needed
- http://www.mydomain.com:8080/music routes properly, as Jetty has port 8080 specified in the Subsonic Control Panel
My goal is to essentially have http://www.mydomain.com/music to redirect to https://www.mydomain.com/music. With that being said, if I specify just http://www.mydomain.com, I want it to redirect to https://www.mydomain.com and be communicating with WordPress. It seems I may need to create a reverse proxy in IIS that does a redirect for /music. I am unsure if this will work, looking for a little guidance.
I appreciate anyone that reads this!
Thank you all!
