mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
doc: add language to mention disruptive nature of cookie host prefix (#22384)
This commit is contained in:
@@ -2912,7 +2912,7 @@ func (c *DeploymentValues) Options() serpent.OptionSet {
|
||||
},
|
||||
{
|
||||
Name: "__Host Prefix Cookies",
|
||||
Description: "Recommended to be enabled. Enables `__Host-` prefix for cookies to guarantee they are only set by the right domain.",
|
||||
Description: "Recommended to be enabled. Enables `__Host-` prefix for cookies to guarantee they are only set by the right domain. This change is disruptive to any workspaces built before release 1.31, requiring a workspace restart.",
|
||||
Flag: "host-prefix-cookie",
|
||||
Env: "CODER_HOST_PREFIX_COOKIE",
|
||||
Value: serpent.BoolOf(&c.HTTPCookies.EnableHostPrefix),
|
||||
|
||||
Reference in New Issue
Block a user