Apache forward proxy
By jeltsch on Fri, 07/31/2020 - 07:23How to install a forward proxy:
- In a typical multi-host environment, you need to add a virtual server to the apache configuration. In order to do that, add a file (e.g. ForwardProxy.conf) to the sites-available directory. This file must contain the following configuration lines for the proxy to listen on port 8080:
ProxyRequests On
ProxyVia OnRequire ip 192.168
ErrorLog /var/log/apache2/error_ForwardProxy.log
CustomLog /var/log/apache2/access_ForwardProxy.log combined