Squid/HAProxy reverse proxy based on url parameter
I have a small homeserver running subsonic, calibre and pyload on nginx. Before I had a pfSense box, I had a https certificate installed directly on the server and would just forward port 443 to it. I would then use reverse proxies to access the services e.g. https://my-domain.com/subsonic, https://my-domain.com/calibre…
Now I would like to replicate this setup using pfSense, except that this time around the ssl certificate is not installed on the server but on pfsense, which fetches the content from the server (without ssl) and serves it to the client (with ssl).
Am I right in assuming that I need either squid or haproxy? If yes, which one would you recommend, and how can I accomplish that?
Thanks in advance
Not sure about squid.. maybe it can..
I have no experience with subsonic nor calibre so can tell anything specific to those environment.. For wordpress for example there are some 'manuals' online that tell how to configure it when hosting it behind a reverse proxy.