# HG changeset patch # User Yaroslav Zhuravlev # Date 1616178379 0 # Node ID 7e271437f12efe86b3166631c9a4069f999344b3 # Parent dd2bbd104146d792656387177add401638c83871 Updated writable variables info in r.variables and s.variables. diff --git a/xml/en/docs/njs/reference.xml b/xml/en/docs/njs/reference.xml --- a/xml/en/docs/njs/reference.xml +++ b/xml/en/docs/njs/reference.xml @@ -9,7 +9,7 @@
+ rev="72">
@@ -457,7 +457,11 @@ writable r.variables{} nginx variables object, writable -(since 0.2.8) +(since 0.2.8). +A variable can be writable only +if it is referenced in nginx configuration file. +Even so, some embedded variables still cannot be assigned a value (for example, +$http_). r.warn(string) @@ -669,7 +673,10 @@ read only s.variables{} nginx variables object, writable -(since 0.2.8) +(since 0.2.8). +A variable can be writable only +if it is referenced in nginx configuration file. +Even so, some embedded variables still cannot be assigned a value. s.warn(string)