A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
I can not send email via Django. 502 Bad Gateway error appears
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
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.