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:
+3
-1
@@ -391,7 +391,9 @@ NETWORKING OPTIONS:
|
||||
|
||||
--host-prefix-cookie bool, $CODER_HOST_PREFIX_COOKIE (default: false)
|
||||
Recommended to be enabled. Enables `__Host-` prefix for cookies to
|
||||
guarantee they are only set by the right domain.
|
||||
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.
|
||||
|
||||
NETWORKING / DERP OPTIONS:
|
||||
Most Coder deployments never have to think about DERP because all connections
|
||||
|
||||
+2
-1
@@ -182,7 +182,8 @@ networking:
|
||||
# (default: lax, type: enum[lax\|none])
|
||||
sameSiteAuthCookie: lax
|
||||
# Recommended to be enabled. Enables `__Host-` prefix for cookies to guarantee
|
||||
# they are only set by the right domain.
|
||||
# they are only set by the right domain. This change is disruptive to any
|
||||
# workspaces built before release 1.31, requiring a workspace restart.
|
||||
# (default: false, type: bool)
|
||||
hostPrefixCookie: false
|
||||
# Whether Coder only allows connections to workspaces via the browser.
|
||||
|
||||
Reference in New Issue
Block a user