title: Problem with docker-compose, nginx and specified location
body: <p>This is my <code>docker-compose.yml</code></p>
  <pre class="lang-yaml prettyprint-override"><code>version: '2' 
  services: 
      nginx:
          image: nginx:1.11.8-alpine
          ports:
            - &quot;8081:80&quot;
          volumes:
            - ./code:/usr/share/nginx/html
            - ./html:/myapp
            - ./site.conf:/etc/nginx/conf.d/site.conf
            - ./error.log:/var/log/nginx/error.log
            - ./nginx.conf:/etc/nginx/nginx.conf
  </code></pre>
  <p>And this is <code>site.conf</code></p>
  <pre><code>server {
  
     listen 8081;
     index index.html index.php;
     server_name localhost;
     error_log  /var/log/nginx/error.log;
  
     location /html {
         root /myapp;
     }
  }
  </code></pre>
  <p>It works on <code>http://nginx-php-docker.local:8081/</code>, showing the file <code>index.html</code> which is inside the <code>/code</code> folder.</p>
  <p>But It is not working with <code>http://nginx-php-docker.local:8081/html</code></p>
  <p>The error log is</p>
  <pre><code>2017/01/13 08:50:27 [error] 7#7: 
    *4 open() &quot;/usr/share/nginx/html/html&quot; failed (2: No such file or directory), 
      client: 172.19.0.1, 
      server: localhost, 
      request: &quot;GET /html HTTP/1.1&quot;, 
      host: &quot;nginx-php-docker.local:8081&quot;
  </code></pre>