Linux & Azure cloud engineer. Sometimes a wolf, or a fuzzy dragon.

  • 0 Posts
  • 56 Comments
Joined 1 year ago
cake
Cake day: December 27th, 2023

help-circle


  • Every “plug and play” NAS I’ve had has been garbage, riddled with adware and had to be firewalled from the internet. After a year they just get insanely slow because they put the worlds’s cheapest ARM SoC in there.

    Personally just take your drives out and stick them in an old PC and install truenas, or just straight ZFS on Debian. Then you can run your containers on the same machine like Jellyfin, etc.




  • There’s nothing bad per se, but obviously not sharing the inner workings of your internet facing server is just another step to protect yourself.

    You mention in the OP this is for a business, my opinion you should be working on a professional resource/developer to manage this for you and not random Lemmy users.

    On the use of Caddy, your configs here host a lot of sites with many specific configurations, I’m not sure caddy can support all of this. nginx is the tool of choice for a wide majority of the internet for a good reason.








  • gray@pawb.socialtoSelfhosted@lemmy.worldCan't access Vaultwarden
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    1 month ago

    idk what nonsense the other commenter is posting but essentially your network flow should look like this:

    internet user -> your IP (found via dynamic DNS) -> firewall/router DNAT port 443 -> proxy (nginx/caddy) listening on 443, backend set to port 80 -> vaultwarden port 80

    You’d load your SSL certificate into the reverse proxy, I’m not familiar with caddy but I use nginx for this purpose.








  • Lightning cables are actually backwards to what is desired:

    In USB standards the part that wears out (the spring pins) are on the cable, and thus easily replaced. In lightning the wear piece is in the expensive device, the cable has no moving parts. Beyond that, lightning has exposed pins, kind of a bad idea.

    Definitely better than micro B, but far inferior to USB C.