tailscale / caddy-tailscale

A highly experimental exploration of integrating Tailscale and Caddy.
Apache License 2.0
422 stars 44 forks source link

set directive order for tailscale_auth #61

Closed willnorris closed 5 months ago

willnorris commented 5 months ago

Now that we require Caddy 2.8, we can use the new RegisterDirectiveOrder func to specify the ordering of the tailscale_auth directive, rather than instructing users to set it manually.

willnorris commented 5 months ago

Added an optional nit, also the examples still use the order directive

oh, good catch. I really love how simple these example files are getting as we remove more unnecessary config!