Fix sameSite (Traefik v2)
This commit is contained in:
parent
198320be8a
commit
0c28630948
14 changed files with 77 additions and 8 deletions
|
@ -156,9 +156,12 @@ On subsequent requests, the client is forwarded to the same server.
|
|||
|
||||
The default cookie name is an abbreviation of a sha1 (ex: `_1d52e`).
|
||||
|
||||
!!! info "Secure & HTTPOnly flags"
|
||||
!!! info "Secure & HTTPOnly & SameSite flags"
|
||||
|
||||
By default, the affinity cookie is created without those flags. One however can change that through configuration.
|
||||
By default, the affinity cookie is created without those flags.
|
||||
One however can change that through configuration.
|
||||
|
||||
`SameSite` can be `none`, `lax`, `strict` or empty.
|
||||
|
||||
??? example "Adding Stickiness -- Using the [File Provider](../../providers/file.md)"
|
||||
|
||||
|
@ -189,6 +192,7 @@ On subsequent requests, the client is forwarded to the same server.
|
|||
name = "my_sticky_cookie_name"
|
||||
secure = true
|
||||
httpOnly = true
|
||||
sameSite = "none"
|
||||
```
|
||||
|
||||
```yaml tab="YAML"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue