I found the solution, when I installed the certbot-auto for the ssl certificate I generated an error (it may be that the version has changed), then I installed it as specified by the certbot official page, by doing so the domain.config file was configured in a different way, leave it as you put...