title: AWS server with google maps
body: <p>I am using AWS server for my application. There I'm facing a problem using google maps when i'm using <code>localhost</code> to run my application google maps does work fine but when I'm using IP address to run the application, it's not working. It gives me this error:</p>
  
  <blockquote>
    <p><code>getCurrentPosition()</code> and <code>watchPosition()</code> no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See  for more details.</p>
  </blockquote>
  
  <p>How can I solve it?</p>