Nginx is configured, but https still can't access it.

server {
         listen 443;
         server_name  www.yozann.com;

         ssl                  on;
         ssl_certificate /usr/local/nginx/conf/1_www.yozann.com_bundle.crt;
         ssl_certificate_key /usr/local/nginx/conf/2_www.yozann.com.key;

         ssl_session_timeout  5m;

         ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
         ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;
         ssl_prefer_server_ciphers   on;

        location / {
            root   html;
            index  index.html index.htm;
         }
     }

Firewall 443 is on and port 443 is open. I would like to ask where else to check, there is no record of access.log visiting https.

Mar.12,2021
After

is configured, did you restart the nginx service?

Menu