title: Mirror a public site using Nginx server
body: <p>At work some websites are blocked (oa. Netflix) using some kind of blacklist for prohibited sites. I think the mechanism for blocking these sites is due a custom DNS server. Computers at work are fully locked down and no software can be installed.</p>
  
  <p>I have a private public facing NGINX webserver (Debian) which I can fully customise. My private server is accessible from work.</p>
  
  <p>Is there a way to mirror a site like Netflix through my NGINX server so I can acces it at work?</p>
  
  <p>I have tried to create an extra custom <code>.conf</code> like:</p>
  
  <pre><code>location /netflix {
      proxy_pass http://netflix.com/;
      proxy_redirect off;
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  }
  </code></pre>
  
  <p>But this does not work. How can I mirror sites through my NGINX webserver?</p>