Https for your Apps
How to get https for selfhosted apps on a homelab or VPS.
Proxies
I started with NPM, but understood that there are few alternatives to get https into your selfhosted services.
See this example on how one service (Multichat), can be deployed with Https with any of the 3 Proxies.
Traefik
Sample Selfhosted Apps with Traefik support out of the box:
- Dokploy
- Claper PPTs
- The MultiChat: which works with traefik/nginx as per these configs
nslookup gibme.duckdns.org
#nslookup traefik.groq.gibme.duckdns.org
See https://myzopotamia.dev/traefik-reverse-proxy-with-containers
Caddy
I tried to close 2024 with a post about selfhosting AI apps with Caddy.
Sample SelfHosted Apps with Caddy support out of the box:
NGINX
NGINX can be used together with Authelia, which provides potentially, an authentication layer.
Example project working with NGINX Proxy Manager:
Behind a NAT
Initially, it was all about cloudflared, but lately you will also hear about:
- Pangolin
- Cloudflare Tunnels
Cloudflare Tunnels
How to expose Apps safely, through your domain, with https and without exposing your home public IP.
That was a blocker for long to me.
Until I discovered Cloudflared tunnels.
And saw a practical example to expose a selfhosted app with cf.
cloudflared_tunnel
network on the containers you want to expose!docker network connect cloudflared_tunnel portainer #your_docker_container_to_expose #network (tunnel) - service