I have a VPS that hosts my personal portfolio. My DNS (*) is set to point to the VPS's IP. I'm also setting up some local self-hosted (Off a NAS in my home) applications such as Cloud storage and sync, etc... I would like to use the NGINX server already running on the VPS to resolve to these local self-hosted services but since they are at home they are on a a dynamic IP from my ISP.
I would like to do the follow:
- https://example.com == VPS NGINX
- https://example.com/cloud == Local NAS Cloud Storag
I've been reading the NGINX docs, reddit and posts on ServerFault but can't wrap my head around the setup. I would also like for both above URL to use my SSL certificate; note I don't have a wildcard certificate which is why I'm not using sub domains.
Thanks