Error: Let's Encrypt validation status 400 on fresh install without apache

Hi, I am geting the following error when i try to activate lets enctypt in a web domain:

Error: Let’s Encrypt validation status 400

The hestia log says:

2019-09-17 05:55:29 v-add-letsencrypt-domain ‘admin’ ‘’ ‘’ ‘’ [Error 15]

My setup is Nginx + MultiPHP (without apache)
Is there anything that i can do to get this working? Maybe the nginx is not loading the rules. I am using the default.tpl as a nginx web template.
The domain is working with http and DNS pointing to the server.