Getting 502 Bad Gateway error and sending a email with django, nginx, gunicorn

October 24, 2016 144 views
Django Ubuntu 16.04

I can not send email via Django. 502 Bad Gateway error appears

1 comment
  • Hi, in order to be able to help you better, we'll need a few more details about the error. Can you post the output of the following command? It will read the last 30 lines of nginx's error log.

    sudo tail -30 /var/log/nginx/error.log
    
Be the first one to answer this question.