I have published a personal copy of the nginx sources in a Mercurial
This is my development repository.
I have also published a repository with only patches (using Mercurial
great patch queue extension):
The ngx_http_undeclared_variables.patch patch allows the definitions of
“undeclared” variables (more info in my mod_parsed_vars module)
The ngx_runtime_config.patch allows users to specify the prefix
directory using command line.
This is very useful in a shared hosting environment where each user want
to run his nginx instance.
I have attached a list of directives affected.
Note that all the directives support relative paths (resolved using the