• 0 Posts
  • 75 Comments
Joined 2 years ago
cake
Cake day: June 6th, 2024

help-circle



  • I have my Immich instance setup with an nginx proxy for security and ssl, and that’s exposed to the internet. I have a domain for my personal website, so I just put up my Immich instance at a subdomain of that. I can now make public share links I can just copy and paste into a group chat. I haven’t added any other users yet but I’d I wanted to all they’d need to do is login via email/password.

    This is an officially supported kind of setup for Immich, so I would consider it secure: https://docs.immich.app/administration/reverse-proxy/

    I don’t have all of my homelab services exposed publicly though; I VPN in for those.

    General tips for exposing a server to the internet:

    • only expose the ports you need for services you intend to be accessible. Use a firewall and/or your router’s port forwarding settings to enable only what you need, with blocking as a default.
    • update all software regularly
    • only expose programs that are built to be exposed. For example, if you make a Flask website, they will warn you several times not to expose it directly, but to proxy it through something like nginx
















  • It is a lot more like water than you think. The solution of “just cut the circuit” is like solving the problem of overflowing storm drains by “just plug the pipe”.

    The power has to go somewhere. If you don’t do anything about it, the voltage in the cables will rise until things start to fry. Real world power balancing involves adjusting the output of power plants (e.g. how much fuel to burn) in response to changes, and in some cases, dumping power into the ground as safely as possible. This problem gets complicated when power grids span vast distances and involve many different power plants that all need to be in sync or things catch on fire.

    In the case of solar power, this is part of why improved large-scale battery technology is so important. It lets you absorb the excess power at peak generation times, and then release that power at night.