Hello,
Il 01/09/2012 12:04, orsomannaro ha scritto:
Il 01/09/2012 07:49, Roberto De Ioris ha scritto:
I suggest you to avoid (when you are learning) the uWSGI debian-way, as
you will find very few updated tutorials.
Just follow the 'official' way, run uWSGI from command line with logs
printed to the terminal (so you can see what is going wrong in realtime).
[snip]
uwsgi --http :9002 --mount /hg=/var/hg/hgweb.wsgi
wasn't it --socket before? I think you want that :)
/var/log/nginx/error.log
2012/09/01 11:56:17 [error] 9888#0: *35 upstream prematurely closed
connection while reading response header from upstream, client:
192.168.1.111, server: ubuntuserver, request: "GET /hg HTTP/1.1",
upstream: "uwsgi://127.0.0.1:9002", host: "192.168.1.254"
It looks like uwsgi expect http while nginx is speaking the uwsgi protocol.
hth,
riccardo
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi