diff src/http/modules/ngx_http_uwsgi_module.c @ 3976:215fe9223419

update r3945 with more descriptive error message
author Igor Sysoev <igor@sysoev.ru>
date Fri, 29 Jul 2011 15:33:03 +0000
parents 502a6b0acf3f
children e0a435f5f504
line wrap: on
line diff
--- a/src/http/modules/ngx_http_uwsgi_module.c
+++ b/src/http/modules/ngx_http_uwsgi_module.c
@@ -1083,6 +1083,8 @@ ngx_http_uwsgi_create_loc_conf(ngx_conf_
     /* "uwsgi_cyclic_temp_file" is disabled */
     conf->upstream.cyclic_temp_file = 0;
 
+    ngx_str_set(&conf->upstream.module, "uwsgi");
+
     return conf;
 }