title: Tinyproxy Reverse Proxy "Access denied"
body: <p>I'm using <a href="https://tinyproxy.github.io/" rel="noreferrer">tinyproxy</a> to reverse proxy. I have three subdomains pointed to the same server, and we need them to point to specific ports internally. That is, port 80 from any particular subdomain, mapped to a particular port. See the config example below.</p>
  
  <p>The config looks like this:</p>
  
  <pre><code>Port 80
  #Allow 127.0.0.1
  #ReverseOnly yes
  upstream 127.0.0.1:8115 "website.example.com"
  upstream 127.0.0.1:3000 "api.example.com"
  upstream 127.0.0.1:9000 "socket.example.com"
  </code></pre>
  
  <p>When I pull up any subdomain, all I get is:</p>
  
  <p><strong>Access denied</strong> <br/>
  The administrator of this proxy has not configured it to service requests from your host.<br/>
     Generated by tinyproxy version 1.8.3.</p>
  
  <hr>
  
  <p>I cannot find <a href="https://tinyproxy.github.io/" rel="noreferrer">adequate documentation</a> anywhere. I'm thinking of contacting the maintainers. Please help.</p>