diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-06-04 12:32:08 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-06-04 12:32:08 +0000 |
commit | 45cb0a086e7541d3b68d25d199847304e3d74bf9 (patch) | |
tree | 9083a77b07860a2c7b9d0381fdbb2c7923a32097 | |
parent | b9579381b5a0e9c0c9e10f7b60bdcf8ae85f5d0a (diff) | |
download | nginx-45cb0a086e7541d3b68d25d199847304e3d74bf9.tar.gz nginx-45cb0a086e7541d3b68d25d199847304e3d74bf9.zip |
uwsgi_bind
-rw-r--r-- | src/http/modules/ngx_http_uwsgi_module.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_uwsgi_module.c b/src/http/modules/ngx_http_uwsgi_module.c index 227720bb2..f9120f68e 100644 --- a/src/http/modules/ngx_http_uwsgi_module.c +++ b/src/http/modules/ngx_http_uwsgi_module.c @@ -137,6 +137,13 @@ static ngx_command_t ngx_http_uwsgi_commands[] = { offsetof(ngx_http_uwsgi_loc_conf_t, upstream.ignore_client_abort), NULL }, + { ngx_string("uwsgi_bind"), + NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, + ngx_http_upstream_bind_set_slot, + NGX_HTTP_LOC_CONF_OFFSET, + offsetof(ngx_http_uwsgi_loc_conf_t, upstream.local), + NULL }, + { ngx_string("uwsgi_connect_timeout"), NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, ngx_conf_set_msec_slot, |