I have converted the config in sites available to this
server { listen 80; server_name tendaafrica.net; return 301 https://$host$request_uri; } # HTTPS server block server { listen 443 ssl; server_name tendaafrica.net; # Path to SSL certificate and key ssl_certificate /etc/letsencrypt/live/tendaafrica.net-0001/fullchain.pem; # Update this path ssl_certificate_key /etc/letsencrypt/live/tendaafrica.net-0001/privkey.pem; # Update this path # SSL settings ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; root /var/www/tenda-express-api; location / { proxy_pass http://localhost:3000; # Node.js app port proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } }
and i have commented out the handshake but still my site is not accessible