I am configuring certbot for my domain mercamira.es I set it up in nginx ago all the steps but it works only if I put mercamira.es but if I put an Alias it does not work anymore for example www.mercamira.es that can be devido
nginx configuration:
ssl_certificate /etc/letsencrypt/live/mercamira.es/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mercamira.es/privkey.pem;