Is there setting equivalent to proxy_set_header for uwsgi?

yejun nginx-forum at nginx.us
Wed Aug 17 04:58:38 UTC 2011


I have tried this. The uwsgi server gives an error 


INVALID PROTOCOL:
[pid: 32149|app: 0|req: -1/1]  () {22 vars in 803 bytes} [Wed Aug 17
00:54:50 2011]   => generated 45 bytes in 0 msecs ( 500) 2 headers in 63
bytes (0 switches on core 0)


My uwsgi is a django app, the command line looks like this


uwsgi --uid 1000 -H /mnt/python -s :8000 --wsgi-file
path/wsgi_handler.py

Without uwsgi_param, this works perfectly.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,213906,213908#msg-213908



More information about the nginx mailing list