Tag Info

New answers tagged


You need to add this section to your nginx configuration. upstream is used for proxying requests to your app referenced by proxy_pass: upstream app_server { server; // your gunicorn server }


The port number (EMAIL_PORT = 443) you are using to connect to smtp host is wrong. It won't ever work. TCP Port 443 is reserved for HTTPS. Please try using Port 465 (SSL required) or Port 587 (TLS required) as prescribed by google. You are also using a standard SMTP port 587 listen 587; in your nginx.conf. You should remove this. See the google reference ...


DNS: Point herbop.com using an A record to (Remove the existing http redirect.) (Note: DNS is distributed, sometimes it takes some time to propagate.) Try the following nginx config: server { listen 80; server_name herbop.com; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For ...

Top 50 recent answers are included