Document the changeability of the nginx builtin variables?

Maxim Dounin mdounin at mdounin.ru
Mon Dec 8 00:33:48 UTC 2014


Hello!

On Fri, Dec 05, 2014 at 03:41:09PM -0800, Yichun Zhang (agentzh) wrote:

> Hello!
> 
> I suggest that the official nginx documentation should explicitly
> document whether a particular built-in variable is changeable or
> readonly. For example, $http_name variables do not allow overwrites
> but $args does. Such explicit documentation and avoid a lot of
> confusion for new comers.

The general rule is "built-in variables are not changeable", and I 
think that few exceptions are mostly results of some experiments.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list