I was reading the tutorial provided in
http://uwsgi-docs.readthedocs.io/en/latest/tutorials/Django_and_nginx.html
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.
Now I am trying to do the same on a Virtual Machine, Ubuntu 16.04, nginx server.
On the line,
uwsgi --socket :8001 --wsgi-file test.py
I get an error saying
invalid request block size 21573 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.
Please help.
Nginx is currently serving a wordpress site on start.
Asked
Active
Viewed 3,866 times
2

sandish
- 39
- 1
- 6
-
http://stackoverflow.com/questions/15878176/uwsgi-invalid-request-block-size – Timmy O'Mahony Sep 10 '16 at 10:22
-
It helped, but why is it that --socket option did not work in Ubuntu Server whereas it worked in raspbian and ubuntu desktop. – sandish Sep 10 '16 at 11:21