Re:Tailscale Authentication for Nginx
by qbasic_forever on Thursday May 05, 2022 @03:29PM
(#31277497)
Awesome! Generic subrequest auth would be a super handy feature native to caddy.
[ Parent
| on HN ]
Re:Tailscale Authentication for Nginx
by francislavoie on Thursday May 05, 2022 @07:43PM
(#31279535)
Yep! We have it working here: https://github.com/caddyserver/caddy/pull/4739
It's a generic setup where you can do _anything_ you want via firing off an HTTP request as a clone of the original, and re-handling the request after getting back the response.
Big shoutout to the Authelia team for helping out with testing and confirming that it works. Will be merged very soon (today?) and some follow-up work is coming to make the config for it even shorter (some sugar for the common forward_auth usecase).
Re:Tailscale Authentication for Nginx
by qbasic_forever on Thursday May 05, 2022 @08:32PM
(#31279821)
Wow slick, that looks great!