Hello !

I would like to know if it is possible to pass datas from nginx to uwsgi (that 
is possible) but to make uwsgi answer to nginx so that nginx is able to keep 
going its logic and redirect to a file.

Not very clear. Here is what I think :

User -> (sends post/get to server)
Nginx -> (proxies post/get to uwsgi) 
-> Uwsgi -> (uwsgi treats the command according to the application logic and 
yields a boolean : 0 or 1; it is arbitrary and coded in the application logic. 
So replace 0 and 1 with whatever you want.) 
-> Nginx -> (Nginx reads that result and acts accordingly : if 1 proxy to file 
if 0 sends 0 back to the user.) 
-> User (gets file or 0; this case is treated with javascript)

Is there a possibility ?

Thanks !

                                          
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to