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: 220.127.116.11, server: localjob.it, request: POST /django/registerClient HTTP/1.1, upstream: http://18.104.22.168:8001/django/registerClient, host: 22.214.171.124
I underline that the function work without star csf. Anyone can explain me why I get this problem?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.