title: using dotcloud env variables in nginx.conf
body: <p>dotcloud provides lots of useful information as environment variables but my <code>nginx.conf</code> cannot access environment variables.  What's a good way around this?</p>
  
  <p>Here's the scenario: I'd like to redirect certain URLs from my <code>www</code> static service to my <code>rest</code> service, so I'm currently hardcoding the target URL into <code>nginx.conf</code>.  I'd rather use the <code>DOTCLOUD_REST_HTTP_HOST</code> variable since that would allow my service to easily migrate.</p>