502 on Nginx after start CSF
Hi I've installed gunicorn, django and nginx as described in this tutorial Tutorial. I've developed a function in django that add in my database an user and it works perfectly!!
Now I've installed CSF (Config Server Firewall) and if I run it
csf -r, the same function for adding a user doesn't work.
I see, in the error log of Nginx, this raw:
2014/06/25 10:11:04 [error] 5396#0: *19 upstream prematurely closed connection while reading response header from upstream, client: 18.104.22.168, server: localjob.it, request: POST /django/registerClient HTTP/1.1, upstream: http://22.214.171.124:8001/django/registerClient, host: 126.96.36.199
I underline that the function work without star csf.
Anyone can explain me why I get this problem?