How do i configure a proxy on apache?



  • Link: https://httpd.apache.org/docs/2.4/mod/mod_proxy.html

    Proxy is enabled via the mod_proxy module.

    Reverse Proxy a request is made by the client and the resulting content is returned as it were from the local server.

    ProxyPass "/foo" "http://foo.example.com/bar"
    ProxyPassReverse "/foo" "http://foo.example.com/bar"
    

    A Forward Proxy client requests come into your server and your server mask where they originated from.

    ProxyRequests On
    ProxyVia On
    
    <Proxy "*">
      Require host internal.example.com
    </Proxy>
    

    The Proxy container applies directives on the proxy configured through mod_proxy settings.


Log in to reply
 

© Lightnetics 2024