# 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 -r dd2bbd104146 -r 7e271437f12e xml/en/docs/njs/reference.xml --- a/xml/en/docs/njs/reference.xml Fri Mar 19 18:24:34 2021 +0000 +++ b/xml/en/docs/njs/reference.xml Fri Mar 19 18:26:19 2021 +0000 @@ -9,7 +9,7 @@
+ rev="72">
@@ -457,7 +457,11 @@ 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 @@ 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)