Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/Distributed.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ leak from anywhere allows any attacker to participate as a server.

*To use it*:

Choose a 'secure token' you can share between your scheduler and all servers.
Choose a 'secure token' you can share between your scheduler and all servers. The token must be a valid HTTP header value.

Put the following in your scheduler config file:

Expand Down Expand Up @@ -230,7 +230,7 @@ leak from anywhere allows any attacker to participate as a client.

*To use it*:

Choose a 'secure token' you can share between your scheduler and all clients.
Choose a 'secure token' you can share between your scheduler and all clients. The token must be a valid HTTP header value.

Put the following in your scheduler config file:

Expand Down
4 changes: 2 additions & 2 deletions docs/DistributedQuickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public_addr = "127.0.0.1:10600"

[client_auth]
type = "token"
token = "my client token"
token = "my client token" # Must be a valid HTTP header value.

[server_auth]
type = "jwt_hs256"
Expand Down Expand Up @@ -122,7 +122,7 @@ toolchain_cache_size = 5368709120
[dist.auth]
type = "token"
# This should match the `client_auth` section of the scheduler config.
token = "my client token"
token = "my client token" # Must be a valid HTTP header value.
```

Clients using Mozilla build servers should configure their `dist.auth` section as follows:
Expand Down
Loading