Expose only share links of a private service with caddy
34 points by ggpsv
34 points by ggpsv
I love Solene's blog. It's almost like she's reading my mind. Every time I think about a problem, she always write an article with the solution to what I what I had in mind around the same time. I have exactly the same use case as her, it's interesting to see her approach.
Yes, it's weird. I was thinking about doing this with my services, but was figuring I'd just have to give up having share links.
Maybe someone can come up with something similar for Forgejo, to only allow unauthenticated users access to the toplevel page for a project, issues, and https clone.
That's an interesting approach. As noted in the post itself it is a bit brittle.
I wonder if there is an opportunity to define a standard way of doing this
Now I am feeling a bit stupid for developing https://codeberg.org/pfad.fr/imir (immich reverse proxy).
Anyway I prefer writing Go than regexes :)
Shared caddy config only goes so far. imir is nice because it's easier to fit into stack, and get updates for.