Haystack

joined 1 year ago
[–] Haystack@lemmy.world 5 points 7 months ago* (last edited 7 months ago) (1 children)

I use Caddy V2 (running in Docker/Podman). 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.

cloud.example.com {
  encode zstd gzip
  tls {
    dns cloudflare {$CLOUDFLARE_API_TOKEN}
    resolvers 1.1.1.1 1.0.0.1
  }
  reverse_proxy nextcloud.my.local.domain:80
}

If you want it exposed then you can just use the default HTTP challenge.

cloud.example.com {
  encode zstd gzip
  reverse_proxy nextcloud.my.local.domain:80
}

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.

[–] Haystack@lemmy.world 7 points 9 months ago (2 children)

Fwiw the TP link bulbs usually have a local API that Home Assistant has an integration for. You can use that and block their internet access - unless they've removed that feature. I only used one of these briefly because someone gave it to me. Usually just use cheap ZigBee bulbs. I would throw that one out though as someone else said it's likely been compromised already...

[–] Haystack@lemmy.world 2 points 10 months ago

If you're open to code CAD look at build123d

[–] Haystack@lemmy.world 8 points 11 months ago (3 children)

It's always nice to have a failsafe if some process has a major memory leak. Otherwise if your memory fills up your system completely freezes with no way to recover.

[–] Haystack@lemmy.world 3 points 11 months ago (2 children)

You can simply use a DNS provider like Cloudflare DNS along with ddclient

[–] Haystack@lemmy.world 2 points 1 year ago

For real, saves so much space that would be used for VM backups.

Aside from that, I have anything important backed up to my NAS, and Duplicati backs up from there to Backblaze B2.