Re:Re: Need Help about useing Nginx with UWSGI

2015-10-23 Thread qhlonline
That it is, Thank you very much! At 2015-10-23 20:46:53, "Maxim Dounin" wrote: >Hello! > >On Fri, Oct 23, 2015 at 02:59:26PM +0800, qhlonline wrote: > >> I had some problem on config nginx with uwsgi. Finally I found >> that my uwsgi had chose protocol of http and Nginx use uwsgi >> pro

Re: Custom Module Directive is Duplicate? Error in conf?

2015-10-23 Thread Maxim Dounin
Hello! On Fri, Oct 23, 2015 at 10:01:34AM -0400, de_nginx_noob wrote: > After compiling a test module that sets a variable equal to "test > successful", I get a "directive is duplicate in (path to conf file)" [...] > conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_netacuity_conf_t)); >

Re: Custom Module Directive is Duplicate? Error in conf?

2015-10-23 Thread de_nginx_noob
Tried setting featureCode in the create_conf function to -1 and somehow that fixed it? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262425,262426#msg-262426 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/n

Custom Module Directive is Duplicate? Error in conf?

2015-10-23 Thread de_nginx_noob
After compiling a test module that sets a variable equal to "test successful", I get a "directive is duplicate in (path to conf file)" #include #include #include //#include //#include #define MAX_STRING_LEN 256 // static char *ngx_http_netacuity(ngx_conf_t *cf, void *post, void *data); //

Re: Need Help about useing Nginx with UWSGI

2015-10-23 Thread Aleksandar Lazic
Hi. Am 23-10-2015 08:59, schrieb qhlonline: Hi, I had some problem on config nginx with uwsgi. Finally I found that my uwsgi had chose protocol of http and Nginx use uwsgi protocol as default. So If I want to use http protocol to transport data from nginx to uwsgi, how to config ? Wh

Re: Need Help about useing Nginx with UWSGI

2015-10-23 Thread Maxim Dounin
Hello! On Fri, Oct 23, 2015 at 02:59:26PM +0800, qhlonline wrote: > I had some problem on config nginx with uwsgi. Finally I found > that my uwsgi had chose protocol of http and Nginx use uwsgi > protocol as default. So If I want to use http protocol to > transport data from nginx to uwsgi, h