Hello dear FreeBSD gurus.
Not sure this topic fits in here, feel free to move the topic if it's not correct. What i'm trying to do is to install Caprover (caprover.com) on a guest os on my FreeBSD host machine. I'm doing virtualization with bhyve. This is not the relevant part though
So, what i'm trying to do is have caprover running in a guest os but accessible from outside. Caprover is like a self hosted heroku. You can deploy apps and they manage SSL certs for you etc. You set up a wildcard domain pointing to your IP and caprover will set upp SSL certs to your apps with Let's Encrypt.
So, according to their documentation (see image below) to run caprover behind NAT (which is essentially what i'm doing) you should just forward ports. In my case, I don't want to do this since i'm running nginx on the host machine. Nginx is serving other sites as well. I would rather configure nginx as a reverse proxy. For port 80 this should be fine I guess but how would one manage the SSL part since I don't want a SSL termination happening in the reverse proxy since caprover is handling all the SSL certs for me? Is this even possible? Any tip?
Docs: Caprover documentation for local installation.
Not sure this topic fits in here, feel free to move the topic if it's not correct. What i'm trying to do is to install Caprover (caprover.com) on a guest os on my FreeBSD host machine. I'm doing virtualization with bhyve. This is not the relevant part though
So, what i'm trying to do is have caprover running in a guest os but accessible from outside. Caprover is like a self hosted heroku. You can deploy apps and they manage SSL certs for you etc. You set up a wildcard domain pointing to your IP and caprover will set upp SSL certs to your apps with Let's Encrypt.
So, according to their documentation (see image below) to run caprover behind NAT (which is essentially what i'm doing) you should just forward ports. In my case, I don't want to do this since i'm running nginx on the host machine. Nginx is serving other sites as well. I would rather configure nginx as a reverse proxy. For port 80 this should be fine I guess but how would one manage the SSL part since I don't want a SSL termination happening in the reverse proxy since caprover is handling all the SSL certs for me? Is this even possible? Any tip?
Docs: Caprover documentation for local installation.