E-mail didn't delivered in the easyengine(nginx) proxy mandrill environment


(honggian) #1

Hello Discourse community

I successfully installed discourse in my subdomain environment. Cheers!

However I couldn’t receive the confirmation e-mail.

Would you tell me the proper installation settings?

Installation process

Ubuntu 16.04, install discourse from the following link.

nginx setting, however in my handrill, I couldn’t find the sending e-mail information in the mandrill outbound information.

server {
    listen 80;
    listen [::]:80;
    listen 443 ssl http2;
    listen [::]:443 ssl http2;
    ssl on;
    ssl_certificate     /etc/letsencrypt/live/forum.example.co.kr/fullchain.pem;
    ssl_certificate_key     /etc/letsencrypt/live/forum.example.co.kr/privkey.pem;
    server_name forum.example.co.kr   www.forum.example.co.kr;
    access_log /var/log/nginx/forum.example.co.kr.access.log rt_cache;
    error_log /var/log/nginx/forum.example.co.kr.error.log;
    add_header X-Proxy-Cache $upstream_cache_status;
    location ~* / {
        proxy_pass http://127.0.0.1:25654;
        proxy_redirect      off;
        proxy_set_header    Host            $host;
        proxy_set_header    X-Real-IP       $remote_addr;
        proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}

Do you have any recommendation?

Thanks


(Jay Pfaffman) #2

(Felix Freiberger) #3

Also, your Nginx configuration is incomplete. Please have a look at this guide:

You’re at least missing the X-Forwarded-Proto header, possibly more.