title: How to configure nginx to show file content instead of downloading it?
body: <p>I have a directory index configured and every time I click a file it gets downloaded. </p>
  
  <p>I want to tell nginx to show the content for text files instead of downloading them. </p>
  
  <p>I still want the download to work when I use wget on those text files. </p>
  
  <p>How can I do that?</p>