Hi,
I finally corrected my conf file by the following lines and it works. No way to use only the certificate for domain.com for domain.fr HTTPs requests since redirection ?
Thanks in advance for your help.
Gilles.
======================
server {
listen 212.129.28.201:80;
server_name www.domain.com domain.com www.domain.fr domain.fr ;
return 301 https://easycrypt.io$request_uri;
}
server {
server_name domain.com www.domain.com;
listen <IP>:443 ssl;
ssl_certificate <certificate for domain.com>
ssl_certificate_key <certificate_key for domain.com>
...
}
server {
server_name domain.fr www.domain.fr;
listen <IP>:443 ssl;
ssl_certificate <certificate for domain.fr>
ssl_certificate_key <certificate_key for domain.fr>
return 301 https://easycrypt.io$request_uri;
}