[Answered ]-Django Running on uWSGI with NGiNX – INI Method Not Working

2πŸ‘

βœ…

I’m not sure which document I read that lead me down this faulty path, but I was using only the number for the INI socket configuration:

# WRONG!!!
socket = 8001 

Should be, just llike the manual command line method:

# CORRECT
socket = :8001

Or like most docs describe:

# ALSO CORRECT, and probably better
socket = 127.0.0.1:8001

I think this one of those times where I probably did have this piece of configuration correct, but in haste, I changed it along with other variables (a troubleshooting no-no) and carried it with me, wrong…

Thanks for the feedback and comments. Hopefully this will help at least one other person out there πŸ˜‰

πŸ‘€nicorellius

Leave a comment