]> git.kaiwu.me - nginx.git/commitdiff
uwsgi_bind
authorIgor Sysoev <igor@sysoev.ru>
Fri, 4 Jun 2010 12:32:08 +0000 (12:32 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 4 Jun 2010 12:32:08 +0000 (12:32 +0000)
src/http/modules/ngx_http_uwsgi_module.c

index 227720bb2c5643f29ae1d15ced0d3a310af0a186..f9120f68e82b81b787fa2cdb0f531dcacca23b21 100644 (file)
@@ -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,