title: Getting Nginx to serve static files from several sources
body: <p>I have a Nginx config that works fine and serves static files properly:</p>
  
  <pre><code>location /static/ {
      alias /tmp/static/;
      expires 30d;
      access_log off;
  }
  </code></pre>
  
  <p>But what I want to do now is that if the static file doesn't exist in <code>/tmp/static</code>, Nginx looks for the file in <code>/srv/www/site/static</code>. I am not sure how to achieve that, I have tried a few things with <code>try_files</code>, but I don't know how to properly use it.</p>