🇨🇦

  • 5 Posts
  • 442 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle







  • Plus Foldersync is way harder on battery, I’ve experimented a lot.

    This is very configuration dependant. With an aggressive schedule checking a large number of files, it certainly can use a lot of battery; but I’ve had it setup to sync my entire device to my server a couple times a day, while also monitoring/syncing images immediately on creation/change. It doesn’t even register on androids battery usage monitor as it uses so little power.

    Anyway; just listing an option for people to look at







  • a problem with passing client IP headers from cloudflared

    I’d be willing to bet this is it. My nginx proxy needs special config to pass client IPs correctly to backend services. Otherwise the backend just sees the IP of the proxying cloudflare server.

    proxy_set_header X-Real-IP $http_cf_connecting_ip;

    A cloudflare specific header. The typical $remote_addr I use elsewhere has the cloudflare server’s IP when cloudflared is involved.



  • More than any other piece of self-hosted software: backups are important if you’re going to host a password manager.

    I have Borg automatically backing up most of the data on my server, but around once every 3 months or so, I take a backup of Vaultwardens data and put it on an external drive.

    As long as you can keep up with that, or a similar process; there’s little concern to me about screwing things up. I’m constantly making tweaks and changes to my server setup, but, should I royally fuck up and say, corrupt all my data somehow: I’ve got a separate backup of the absolutely critical stuff and can easily rebuild.

    But, even with the server destroyed and all backups lost, as long as you still have a device that’s previously logged into your password manager; you can unlock it and export the passwords to manually recover.