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.

Star History Chart

Traefik

Sample Selfhosted Apps with Traefik support out of the box:

  1. Dokploy
  2. Claper PPTs
  3. 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:

â„šī¸
Thanks to Jims Garage and Chrstian Lempa for the explanatory videos!

Behind a NAT

Initially, it was all about cloudflared, but lately you will also hear about:

  1. Pangolin
  2. 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.

Cloudflare Zero Trust UI

â„šī¸
Remember to use the cloudflared_tunnel network on the containers you want to expose!

CF Tunnels

docker network connect cloudflared_tunnel portainer #your_docker_container_to_expose  #network (tunnel) - service