郑锋

我就是我

apache反向代理

<VirtualHost *:80>
ServerName xxx.zhengfeng.me #访问域名
SSLProxyEngine on
ProxyRequests off
<Proxy *>
    Order allow,deny
    Allow from all
</Proxy>

#被反向代理的网站
ProxyPass / https://test.qq.com/ max=60 disablereuse=On
ProxyPassReverse /  https://test.qq.com/

</VirtualHost>


<VirtualHost *:443>
ServerName xxx.zhengfeng.me
SSLEngine on
SSLCertificateFile /home/xxx.zhengfeng.me_public.crt
SSLCertificateKeyFile /home/xxx.zhengfeng.me.key
SSLCertificateChainFile /home/xxx.zhengfeng.me_chain.crt
Protocols h2 h2c http/1.1

SSLProxyEngine on
  ProxyRequests off
<Proxy *>
    Order allow,deny
    Allow from all
</Proxy>
ProxyPass / https://test.qq.com:700/ max=60 disablereuse=On
ProxyPassReverse / https://test.qq.com:700/


</VirtualHost>


«    2024年1月    »
1234567
891011121314
15161718192021
22232425262728
293031
控制面板
您好,欢迎到访网站!
  查看权限
网站分类
网站收藏
友情链接
  • RainbowSoft Studio Z-Blog
  • 订阅本站的 RSS 2.0 新闻聚合