hey guys
I’m pretty new to this web-stuff
i got a vps where i’d like to install nextcloud. i want it to be reachable via cloud.example.com
i also have a homeserver with octoprint and stuff on it. i’d love to be able to access that with octoprint.example.com
that’s what you pros use a reverse proxy for, right? but how do i do that?
install nextcloud with appache and use nginx as the proxy? i guess i could also use haproxy for that as well? what would you recomend as setup?
sadly nginx proxy manager is no option. but is there another easy to config method?
Haystack@lemmy.world 7 months ago
I use Caddy V2. Configuration can be even simpler than the below. It automatically sorts out the SSL certs from Let’s Encrypt for you. If you use Cloudflare DNS challenge like I do, you can get SSL without the server having to be exposed to the internet.
If you want it exposed then you can just use the default HTTP challenge.
And yes you can add any number of sites on subdomains like this and it will reverse proxy them to the correct server based on the domain name.
fuzzy_feeling@programming.dev 7 months ago
that looks promising.
guess i’ll take a look at caddy.
thank you very much.