title: Bluetooth requestDevice() is undefined on Amazon Lightsail
body: <p>The following example (1) lists available Bluetooth devices when opened as a file in Chrome version 70.</p>
  
  <p>When uploading the same exact example to an Amazon Ligtsail instance I get the following error message:</p>
  
  <pre><code>Uncaught TypeError: Cannot read property 'requestDevice' of undefined
  at connect ((index):9)
  at HTMLButtonElement.onclick ((index):4)
  </code></pre>
  
  <p>Can anyone explain to me what the issue might be? Since this is JavaScript, it should be executed in the browser and be unrelated to any server setup?</p>
  
  <p>.</p>
  
  <p><strong>(1) Example code that generates the error on Amazon Lightsail</strong></p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  &lt;button onclick="connect();"&gt;Click here&lt;/button&gt;
  &lt;script&gt;
  function connect() {
      console.log('Getting Bluetooth Device...');
      navigator.bluetooth.requestDevice(
      {
          acceptAllDevices : true
      })
      .then(device =&gt; {
          console.log('Got device');
      })
       .catch(error =&gt; {
          console.log(error);
      });
   }
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>