NGINX error SSL

Hello,

I have this probleme on my navigator : ERR_SSL_PROTOCOL_ERROR

my configuration NGINX

server {
listen 443 ssl; # managed by Certbot
listen [::]:443 ssl ipv6only=on; # managed by Certbot
server_name mydomain.com www.mydomain.com;

ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

root /var/www/html/mydomain;
index index.html;

location / {
    try_files $uri $uri/ =404;
}

location /tomcat {
    proxy_pass http://127.0.0.1:4070/;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header Host $host;
}

}

What is missing ?

Thanks

Welcome to the community @Perfurax

What messages show with this:

sudo nginx -t

Did you perform an nginx restart after getting the certificates? Sometimes a restart is needed the first time (a reload is enough when updating certificates).

Can you describe your "navigator" better? Is that a browser, if so which one. What is its version?

What oper sys and version does your "navigator" run on.

What oper sys and version does your nginx server run on? (so we can better advise other commands to use to debug)

Your domain name would also be very helpful.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.