My domain is: www.thomasdl.fr
I ran this command: Did the certificate for my domain www.thomasdl.fr
It produced this output: Everything is working correctly until i try to reach my website with https://thomasdl.fr (thomasdl.fr, www.thomasdl.fr , http://thomasdl.fr and such works) but I’m getting a certificate problem with the url that i just wrote before. I can’t figure out what to do even looking on stack overflow it didn’t change much. And here is my nginx config :
server {
listen 80;
server_name _;
return 444; }
server {
listen 80;
server_name www.thomasdl.fr;
return 301 https://www.thomasdl.fr$request_uri;
}
server {
listen 443 ssl;
server_name www.thomasdl.fr;
ssl_certificate /etc/letsencrypt/live/www.thomasdl.fr/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.thomasdl.fr/privkey.pem;
location / {
root /var/www/website;
}
location /api/ {
proxy_pass http://127.0.0.1:8080/;
}
}
My web server is (include version): nginx-1.19.1
The operating system my web server runs on is (include version): Debian 10
My hosting provider, if applicable, is: OVH
I can login to a root shell on my machine : yes
I’m using a control panel to manage my site : no
The version of my client is : certbot 0.31.0
Thank you