title: Nginx to serve multiple files in one request
body: <p>I have 10 files, log1.txt, log2.txt, log3.txt</p>
  
  <p>I would like to have an nginx endpoint, /log that will return all 3 logs to the client.</p>
  
  <p>So if log1.txt was </p>
  
  <pre><code>BASEBALL
  </code></pre>
  
  <p>log2.txt was </p>
  
  <pre><code>BASKETBALL
  </code></pre>
  
  <p>log3.txt was</p>
  
  <pre><code>SWIMMING
  </code></pre>
  
  <p>/log would return</p>
  
  <pre><code>BASEBALL
  BASKETBALL
  SWIMMING
  </code></pre>
  
  <p>(though order in my use case wouldn't matter)</p>
  
  <p>What's important is that the nginx server not load all of the files in memory (to concat, tar or whatever), since these files may be huge and eat up all the available memory. I would like nginx to stream the files to the client.</p>
  
  <p>Is this possible with nginx?</p>