http > https
This article provides a good summary of why geolocation no longer works over http and how to setup an SSL certificate for your web server in order to use HTTPS.
No HTTPS? Then say goodbye to geolocation in Chrome 50! - mobiForge