For the server installed apache2 on debian8, two import config file is as follows.
Here is the /etc/apache2/mods-enabled/proxy.conf
file.
<IfModule mod_proxy.c>
SSLProxyEngine On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
<Proxy *>
Order deny,allow
Deny from all
</Proxy>
ProxyVia block
</IfModule>
Here is the /etc/apache2/sites-enabled/000-default.conf
file.
ServerName www.example.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
SSLProxyEngine On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyEngine ON
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
The forward proxy in vps_ip is still work,why?
curl -x vps_ip:80 -I yahoo.com #perform on local pc
HTTP/1.1 200 OK
Why can't close forward proxy on vps?