title: nginx home environment variable?
body: <p>I have some nginx config in a repo, and the application root is sometimes different on different machines and setups:</p>
  
  <pre><code>server {
      listen 80;
      server_name admin.triface.local;
  
      root /Users/xxxxxx/Sites/triface-admin/public;
      index triface.html;
  }
  </code></pre>
  
  <p>I want to set a variable somewhere (like an bash environment variable or equivalent) that lets me avoid hardcoding the server root.  It seems like this should be straightforward, but I can't find anything on it.  Any clues?</p>