Re:Tailscale Authentication for Nginx
by jordemort on Thursday May 05, 2022 @10:21PM
(#31280550)
Any chance at a version of this for Traefik?
[ Parent
| on HN ]
Re:Tailscale Authentication for Nginx
by kornnflake on Friday May 06, 2022 @10:55AM
(#31285891)
Afaik, the provided `nginx-auth` binary 'should' work out-of-the-box with traefik's ForwardAuth middleware [1].
[1] https://doc.traefik.io/traefik/middlewares/http/forwardauth/
Thanks! I knew they worked similarly, but I wasn't sure if they were actually speaking the same protocol or not, since Traefik doesn't seem to deign to mention nginx in their docs.
Here's an example I whipped up: https://github.com/kevin-hanselman/tailscale-forward-auth