title: How to remove .html when someone visit your static website
body: <p>Right now I have a static website that is served by nginx. 
  Example page: www.mydomain.com</p>
  
  <p>If I or anyone visits www.mydomain.com, it shows as www.mydomain.com/index.html.</p>
  
  <p>How can I prevent the trailing .html and end up with www.mydomain.com/index showing up instead?</p>
  
  <p>I can find many questions talking about similar issues but none of the proposed solutions worked.</p>
  
  <p>Thanks</p>