I’m trying to protect a public-facing Immich Web server. I actually have the Immich + Caddy integration working great with LetsEncrypt cert.
However, I don’t love the idea of leaving https://imichserver/auth/login open to just anybody. What I’d love to do is prevent ANY IP accept my office/home IPs to hit the /auth/login URL.
2. Error messages and/or full log output:
No errors really, more of a usage question.
3. Caddy version:
v2.10.0
4. How I installed and ran Caddy:
Download standalone binary for Linux, ran it.
a. System environment:
Linux Ubuntu x64 - latest version and all patches as of today.
I realize I probably wasn’t clear in the original message in that I want people to be able to view the general photos and gallery pages, but I don’t want just anybody to hit that specific login page and hammer away at it with brute force password spraying attacks. I’ll look into that remote-ip functionality though as perhaps it can deny just specific URLs. And yep my home and office have static IPs.