title: Ubuntu nginx container 403 forbidden
body: <p>I've build an ubuntu container with nginx websever. The docker file looks as follow:</p>
  
  <pre><code>FROM ubuntu:14.04
  MAINTAINER James Turnbull "james@example.com"
  ENV REFRESHED_AT 2014-06-01
  RUN apt-get -yqq update &amp;&amp; apt-get -yqq install nginx
  RUN mkdir -p /var/www/html/website
  ADD nginx/global.conf /etc/nginx/conf.d/
  ADD nginx/nginx.conf /etc/nginx/nginx.conf
  EXPOSE 80
  </code></pre>
  
  <p>The file structure looks as follow:</p>
  
  <pre><code>xxxxxx@xxxxx:~/sample$ ls
  Dockerfile  nginx  website
  </code></pre>
  
  <p>After running the container with the statement:</p>
  
  <pre><code>sudo docker run -d -p 80 --name website \-v $PWD\website:/var/www/html/website \kostonstyle/nginx nginx
  </code></pre>
  
  <p>The nginx server works as expected but when I request for a webpage, I've got only </p>
  
  <pre><code>curl 0.0.0.0:32769
  &lt;html&gt;
    &lt;head&gt;&lt;title&gt;403 Forbidden&lt;/title&gt;&lt;/head&gt;
    &lt;body bgcolor="white"&gt;
      &lt;center&gt;&lt;h1&gt;403 Forbidden&lt;/h1&gt;&lt;/center&gt;
      &lt;hr&gt;&lt;center&gt;nginx/1.4.6 (Ubuntu)&lt;/center&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>What am I doing wrong?  </p>