I really dont know how you guys are all having issues lmao.
Havoc has done an amazing job on this resource.

If you guys are wanting to setup the live map with https, Use a web proxy (I use nginx).
Have a look at how I have my nginx.conf setup. I have crossed out some stuff in there.
But the main part is at the very bottom that routes the data through your domain.
upstream → server: serverip:socketport
server → server_name: sub.domain.com (no http:// or back /)
You will need a ssl certificate and private key for https to be secure.

If you set all this stuff up properly (by reading the FiveM documents, AND Havocs documents) it will work perfectly fine.