invalid request block size 21573
<p>I was reading the tutorial provided in 
<a href="http://uwsgi-docs.readthedocs.io/en/latest/tutorials/Django_and_nginx.html" rel="nofollow">http://uwsgi-docs.readthedocs.io/en/latest/tutorials/Django_and_nginx.html</a> 
This very tutorial is a great tutorial. I have been able to configure django server on my raspberry pi raspbian system, on my Ubuntu Desktop too.<br>
Now I am trying to do the same on a Virtual Machine, Ubuntu 16.04, nginx server. 
On the line, <br>
uwsgi --socket :8001 --wsgi-file test.py
<br>
I get an error saying 
<em>invalid request block size 21573</em> on the terminal
I went through the uwsgi tutorial that said not to use --http for --socket; 
Either way I have not been able to get my webserver running.<br> Please help.
Nginx is currently serving a wordpress site on start. </p>

<p>With <code>--socket</code> option you have to use <a href="http://nginx.org/en/docs/http/ngx_http_uwsgi_module.html" rel="nofollow">uwsgi module</a> in nginx instead of proxy.</p>

python django nginx uwsgi