title: How to configure Nginx behind a corporate proxy
body: <p>Is there an equivalent of apache's ProxyRemote directive for NginX?</p>
  
  <p>So the scenario is I am behind a corporate proxy and I want to do proxy passes for various services with NginX. I would do it in Apache with the following:</p>
  
  <p>ProxyPass       /localStackOverflow/  <a href="https://stackoverflow.com/">https://stackoverflow.com/</a></p>
  
  <p>ProxyPassReverse /localStackOverflow/ <a href="https://stackoverflow.com/">https://stackoverflow.com/</a></p>
  
  <p>ProxyRemote <a href="https://stackoverflow.com/">https://stackoverflow.com/</a> <a href="http://(my" rel="noreferrer">http://(my</a> corporate proxy IP)</p>
  
  <p>I know I need the  proxy_pass directive in NginX but can't find what I would use for the ProxyRemote.</p>
  
  <p>Thanks</p>