Hi.
I have published a personal copy of the nginx sources in a Mercurial
repository:
http://hg.mperillo.ath.cx/nginx/nginx-stable-mperillo/
This is my development repository.
I have also published a repository with only patches (using Mercurial
great patch queue extension):
http://hg.mperillo.ath.cx/nginx/patches
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
prefix path).
Manlio Perillo
Runtime configuration for Nginx
===============================
============================ ================================== =============
====================== =======
Configuration variable default value module
directive name option
============================ ================================== =============
====================== =======
NGX_PREFIX /usr/local/nginx/
-p
NGX_CONF_PATH /usr/local/nginx/conf/nginx.conf
-c
NGX_PID_PATH /usr/local/nginx/logs/nginx.pid main
pid
NGX_LOCK_PATH /usr/local/nginx/logs/nginx.lock main
lock_file
NGX_ERROR_LOG_PATH /usr/local/nginx/logs/error.log main
error_log
NGX_HTTP_LOG_PATH /usr/local/nginx/logs/access.log http log
access_log
NGX_HTTP_CLIENT_TEMP_PATH /usr/local/nginx/client_body_temp http core
client_body_temp_path
NGX_HTTP_PROXY_TEMP_PATH /usr/local/nginx/proxy_temp http proxy
proxy_temp_path
NGX_HTTP_FASTCGI_TEMP_PATH /usr/local/nginx/fastcgi_temp http fastcgi
fastcgi_temp_path
============================ ================================== =============
====================== =======