check following files, which are configured by EE for enabling SSL.
listen 443 ssl http2;
and following settings
root@s:~# cat /etc/nginx/conf.d/force-ssl-example.com.conf
server_name www.serversolace.com serversolace.com;
return 301 https://serversolace.com$request_uri;
or just run EE comand to generate those files.
ee site update example.com --letsencrypt=on
and make sure following line is present in
If you have not changed any default configurations, this should work. let me know if this resolves your issue.