Hi everybody,
My domain techpush.xyz points to a Ubuntu 16.04 based server located at Digital Ocean. It’s a small website built with Node.js 7.3.0, MongoDB v3.2.8, and nginx/1.10.0.
3 months ago I followed the tutorial “How To Secure Nginx with Let’s Encrypt on Ubuntu 16.04” and configured successfully my first SSL certificate. The domain with HTTPS works like a charm.
But today it has expired. Here is the scanned result by SSLLabs:
`
I’ve tried to renew, here is the error reported:
`
It also printed out:
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: techpush.xyz
Type: unauthorized
Detail: Invalid response from http://techpush.xyz/.well-known/acme-
challenge/SvC3fLieF3tHbCRCx0FQ3Ay5hEQcp4fUqCzNBo2s9z8: "<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><cen"
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address.
`
I’ve tried to change nginx config file to enable HTTP for techpush.xyz, but I got the same result. It said it could not access the website.
I’ve tried to generate new certificates and repeat the steps as same as 3 months ago. Nothing changes.
Please give me some advice. How I should do to get it works again?
Thank you,
Dong