mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-09 22:33:11 +02:00
docs: Add required in cookie_secret (#1142)
This commit is contained in:
parent
a7bd2caae9
commit
72b6347886
2 changed files with 2 additions and 2 deletions
|
@ -156,6 +156,7 @@ The name of the session cookie sent to clients.
|
|||
- Environmental Variable: `COOKIE_SECRET`
|
||||
- Config File Key: `cookie_secret`
|
||||
- Type: [base64 encoded] `string`
|
||||
- Required for proxy service
|
||||
|
||||
Secret used to encrypt and sign session cookies. You can generate a random key with `head -c32 /dev/urandom | base64`.
|
||||
|
||||
|
@ -1170,4 +1171,3 @@ If no certificate is specified, one will be generated and the base64'd public ke
|
|||
[signed headers]: ./signed-headers.md
|
||||
[toml]: https://en.wikipedia.org/wiki/TOML
|
||||
[yaml]: https://en.wikipedia.org/wiki/YAML
|
||||
|
||||
|
|
|
@ -212,7 +212,7 @@ func (db *DB) ClearDeleted(_ context.Context, cutoff time.Time) {
|
|||
}
|
||||
}
|
||||
|
||||
// doNotify receives event from redis and signal the channel that something happenned.
|
||||
// doNotify receives event from redis and signal the channel that something happened.
|
||||
func doNotify(ctx context.Context, psc *redis.PubSubConn, ch chan struct{}) error {
|
||||
switch v := psc.ReceiveWithTimeout(time.Second).(type) {
|
||||
case redis.Message:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue