正向代理示例配置:
ProxyRequests On
ProxyVia On
<Proxy *>
Order deny,allow
Deny from all
Allow from 192.168.0
</Proxy>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
反向代理示例配置:
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /centos https://www.cdsy.xyz
ProxyPassReverse /centos https://www.cdsy.xyz