after reboot the server I get 502 bad gatway
check link guru61.com
I have two websitesste or ghost running on the same VPS ubuntu
I checked the ghost ls and it seems everything is working correctly
after reboot the server I get 502 bad gatway
check link guru61.com
I have two websitesste or ghost running on the same VPS ubuntu
I checked the ghost ls and it seems everything is working correctly
Check that the ports used by each Ghost instance are correct in the Nginx configuration files.
any recommendation
You should set the listen directive to https, i.e., 443 not the Ghost port. This is only referenced in the proxy settings.
I assume you did sudo nginx reload
following changes?
Also, comment out the root
directive.
Whenever you have an Nginx error, a good first step is check your Nginx logs.
@Jasosn88, your site is working fine now, so what changes did you make?
https on port 443 is working but http on port 80 is still 502 and not redirecting.
@Jasosn88 Also, please paste text as quotes or code blocks instead of screenshots. It’s easier read on mobile and easier to search. Thanks!
I updated the SMTP settings but nor is sending not working! any option
Try to subscribe(works only with hostmail and
smtp.eu.mailgun.org
Our servers listen on ports 25
, 587
, and465
(SSL/TLS)
Use full email address like
[redacted]
as the username.
@Jasosn88, it’s best to start a new thread for different issues as it makes it easier for other users to find solutions. Likewise, please confirm what actions resolved the original issue, so the thread may be marked as solved.
Regarding Mailgun configuration, this is what you need.
"mail": {
"from": "noreply@guru61.com",
"transport": "SMTP",
"options": {
"host": "smtp.eu.mailgun.org",
"port": 587,
"service": "Mailgun",
"secure": false,
"requireTLS": true,
"auth": {
"user": "postmaster@mg.guru66.com",
"pass": "pass-wo-rd"
}
}
},
In addition, you need to setup valid DNS records.
Not working
smtp.eu.mailgun.org
Our servers listen on ports 25
, 587
, and465
(SSL/TLS)
Use full email address like
brad@guru61.com
as the username.
“mail”: {
“from”: “noreply@guru61.com”,
“transport”: “SMTP”,
“options”: {
“host”: “smtp.eu.mailgun.org”,
“port”: 587,
“service”: “Mailgun”,
“secure”: false,
“requireTLS”: true,
“auth”: {
“user”: “postmaster@guru66.com”,
“pass”: “b20465dda274a205ea2be3a6ec83fb75-d1a07e51-b5d918a5”
}
}
},
Don’t post your credentials on a public forum—please edit your post.
Since you already have MX records for guru61.com, you need to setup additional MX records for Mailgun using a subdomain as described.
Please provide better feedback, i.e., what you tried, and what output you see.
Not working
Any tutorial to add MX records for subdomain and MailGun
Please read what I posted carefully: the MX records are for mg.guru66.com
. Follow the instructions from the Mailgun interface, and add two records (as described) with your domain registrar. Mailgun will show a tick when this is setup correctly.