Nginx keeps redirecting in combination with multiple domains

I have a site: www.blindevis.be and www.poissonaveugle.fr

A redirect happens from poissonaveugle.fr to blindevis.be when:

  • from http to https
  • from non-www to www

https://www.poissonaveugle.fr/ works. All the rest doesn’t.

I have 2 websites created in EasyEngine. The folder of poissonaveugle.fr is set to the one of blindevis.be so LetsEncrypt works on both sites.

Any thoughts where my configuration is wrong? I can’t seem to find it and it’s over a month. My nginx configuration can be found here : https://p.ngx.cc/98557662c4fad609

What do you mean by:

The folder of poissonaveugle.fr is set to the one of blindevis.be so LetsEncrypt works on both sites.

Are you using the very same certificate on more than one domain? Why would you want that, since Let’s Encrypt certificates are free?