The original post: /r/selfhosted by /u/Resident_Wishbone_45 on 2024-04-15 18:53:41.

Hi everyone.

I’m building up a home serveur to host (for now) Nextcloud and Jellyfin.

After tinkering a lot on the setup only within my local network to make everything work, i will soon make that available online. I bought a domain and will install Caddy to handle reverse-proxying, as far as i see it’s not that complicated.

My point is: i also plan to host a simple static website accessible via mydomain.com where i will share instructions and FAQ on Nexcloud + its apps and Jellyfin. The users of my server have a very basic level of IT, so it’s kind of crucial to have that. (i cannot tell them "go retrieve the email i sent you 6 months ago with instruction). The idea is to make them go on mydomain.com , they find instructions and redirection links to the services : servicex.mydomaine.com.

I cannot find any clue on the internet regarding the possibility for a single Caddy Instance/container to act at the same time as a Reverse Proxy and as a webserver. Is it possible and if yes how ? i simply have to combine config for webserver and reverser proxy in a single json Caddyfile ?

My server OS is OMV and services are installed using docker

https://preview.redd.it/umdrx61htouc1.png?width=809&format=png&auto=webp&s=2922f989f9105a110a63e6c139d0143fe9df38a7