Hey
-
Check that the DNS records point to your Frappe Press central instance.
-
Add the following Nginx configuration (e.g. /etc/nginx/conf.d/ssl.conf).
# ACME Challenge for all TLS certificates
server {
listen 80;
listen [::]:80;
server_name ssl.example.cloud;
location ^~ /.well-known/acme-challenge/ {
default_type "text/plain";
root /home/myuser/.webroot;
}
location = /.well-known/acme-challenge/ {
return 404;
}
location ^~ / {
root /home/myuser/.webroot;
}
}
-
Reload the Nginx configuration (
service nginx reload
). -
Go to the TLS Certificate for the custom domain that fails.
-
Click Obtain Certificate.
-
Wait a little bit.
-
On failure, look at the error log for a
TLS Certificate Exception
, and look at the connection DetailType: connection\n Detail: IP ADDRESS
and check that the IP is that of the Frappe Press instance. If not, maybe the DNS records are not yet propagated.