title: ngrok with https on localhost returns 502
body: <p>I need to debug webhooks in an asp.net core 2 api hosted with kestrel.
  It only runs in https : <a href="https://localhost:44338" rel="nofollow noreferrer">https://localhost:44338</a> (accessible, works fine)</p>
  
  <p>I thought ngrok would be fast to use but I'm always redirected to an error 502.</p>
  
  <p>I've tried those conbinations I found in other posts:</p>
  
  <pre><code>ngrok http -region=eu -bind-tls=true -host-header=rewrite localhost:44338
  ngrok http 44338 -region=eu -host-header="localhost:44338"
  ngrok.exe http -region=eu -host-header=rewrite localhost:44338
  ngrok tls -region=eu -hostname=localhost 44338
  </code></pre>
  
  <p>added to </p>
  
  <pre><code>netsh http add urlacl url=https://xxx.ngrok.io:44338/ user=everyone
  </code></pre>
  
  <p>but no change, any idea?</p>
  
  <p>EDIT : </p>
  
  <pre><code>ngrok http -region=eu -host-header=rewrite localhost:8592
  netsh http add urlacl url=http://xxxxxxxx.eu.ngrok.io:8592/ user=everyone
  </code></pre>