Non https is redirecting to https site on the same server

Issue is already site existed and running in the server with http now i want to enable ssl but throughing this error.

root@DropLet7:~# ee site update --letsencrypt
Letsencrypt is currently in beta phase.
Do you wish to enable SSl now for
Type "y" to continue [n]:y
Please Wait while we fetch SSL Certificate for your site.
It may take time depending upon network.
Unable to setup, Let's Encrypt
Please make sure that your site is pointed to
same server on which you are running Let's Encrypt Client
 to allow it to verify the site automatically.
root@DropLet7:~# ee site list

One more thing is non http is listing https port. how to resolve it.

Mark it as issue resolved.


What did you do to solve this issue?

I think issue is with easyengine non https listening to https. So I converting all sites to https

I think am too facing this issue for a while.

Specially when using a cdn, thats should be pulling data from site B, but pulls data from Site A. Hence the non https site is redirecting to a https site on the same server.

Well it seems it has to do with ngnix vhost configuration.