This is an automated archive made by the Lemmit Bot.
The original was posted on /r/selfhosted by /u/WArmstrong on 2023-07-03 13:29:55+00:00.
Hi, perhaps someone would be able to help? I’m struggling to understand if all of this is the right approach.
I currently have a home server with apache installed, it makes use of virtualhosts and aliases to accommodate 3 different domain names and serves 3 very basic websites. I forward 443 and 80 from my router to the machine. For SSL I’m using letsencrypt which takes care of configuring apache.
I’m setting up a Matrix application (synapse-dev) on the same server, which will fulfil requests from a 4th domain name on port 8448 and 443.
I presume I will need to setup a reverse proxy to direct requests from domains 1-3 to the webserver, and requests from domain 4 to the matrix application.
Present
Planned
- Does this planned approach make sense?
- I presume I can’t use the existing apache webserver as the reverse proxy as well? In which case the reverse proxy will be a separate application on the machine, maybe nginx for ease.
- Since I’ve setup SSL with letsencrypt doing its magic on my apache webserver, will SSL be a new headache to deal with the reverse proxy app?
Thanks.