cmd/nginx-auth: update Expected-Tailnet documentation (#6055)

Signed-off-by: Xe Iaso <xe@tailscale.com>
This commit is contained in:
Xe Iaso
2023-01-25 13:47:19 -05:00
committed by GitHub
parent 2d29f77b24
commit 038d25bd04

View File

@@ -129,7 +129,7 @@ the `Expected-Tailnet` header to your auth request:
```nginx
location /auth {
# ...
proxy_set_header Expected-Tailnet "tailscale.com";
proxy_set_header Expected-Tailnet "tailnet012345.ts.net";
}
```
@@ -146,6 +146,8 @@ generic "forbidden" error page:
</html>
```
You can get the tailnet name from [the admin panel](https://login.tailscale.com/admin/dns).
## Building
Install `cmd/mkpkg`: