nginx uwsgi and cgi python script
Ok. I didn't read uwsgi WIKI good enough. All I had to do, is add --http-modifier1 9
to the command line switch, or uwsgi_modifier1 9;
to nginx config.
location / { include /etc/nginx/uwsgi_params; uwsgi_modifier1 9; uwsgi_pass 127.0.0.1:9010;}/usr/sbin/uwsgi --http :9011 --http-modifier1 9 --ini /etc/uwsgi/test.ini --master