Commit graph

21 commits

Author SHA1 Message Date
AKP
7c8b170276
Case-insensitively compare user logins 2024-10-12 19:37:06 +01:00
AKP
d9027601f9
Handle non-Tailnet connections 2024-10-12 18:49:01 +01:00
AKP
871b191fb9
Remove pointer receiver on CaddyModule function 2024-10-12 13:46:51 +01:00
AKP
3d5f170789
Remove debugging print statements 2024-10-12 13:45:14 +01:00
AKP
0ab43aee88
Use new() when registering the module
This might be what's preventing us from registering this on the Caddy page.

See https://caddy.community/t/cannot-claim-package/20537
2024-10-12 13:40:12 +01:00
AKP
3d4c4db169
Add LICENSE 2024-10-12 13:36:20 +01:00
AKP
8e3fc3a819
Update Tailscale dependency 2024-10-12 13:35:18 +01:00
AKP
078b726c82
Match Go version number to that of Tailscale 2024-10-12 13:33:46 +01:00
AKP
62fc7c3144
Add docs for allowlist and header remapping 2024-10-12 13:21:45 +01:00
AKP
ba69bd699f
Add header remapping and an allowlist 2024-10-12 13:18:15 +01:00
AKP
707ad4a78a
Basic README.md 2024-10-11 15:57:46 +01:00
AKP
256b583e40
Use the same header names as used in Tailscale's serve command
https://tailscale.com/kb/1312/serve#identity-headers
2024-10-11 15:38:10 +01:00
AKP
01d90d7040
Add .gitignore 2024-10-10 13:16:34 +01:00
AKP
4462f9ce63
Fix headers not showing when set_headers included 2024-10-10 13:15:54 +01:00
AKP
972ff18012
Add timeout to Tailscale WhoIs call 2024-10-10 13:15:14 +01:00
AKP
7a1a654b73
Remove misplaced header setting 2024-10-10 12:51:17 +01:00
AKP
d1308e6f9e
Refactor function names and doc comments 2024-10-10 00:30:09 +01:00
AKP
842a867d21
Set X-Tailscale-* headers when copy_headers argument passed in the Caddyfile 2024-10-10 00:29:00 +01:00
AKP
8dc2e083f3
Add Caddyfile directive order 2024-10-09 23:38:42 +01:00
AKP
828abff8d2
Alter 5 files
Delete `module.go`
Add `caddyfile.go`
Update `go.mod`
Update `go.sum`
Add `tailscaleAuth.go`
2024-10-09 23:22:12 +01:00
AKP
37075cbeb9
Initial stub 2024-10-08 00:17:34 +01:00